Can't ping gateway from vlan

I am new to MikroTik.
I have a bridge with a vlan and an access port. I also have an IP and DHCP server on the bridge.
On my computer, I can connect to access port and got an IP and ping the bridge IP.
But when I connect my computer to the trunk port and set the nic to vlan10, I am getting an IP but cannot ping the bridge IP anymore.

Thank you for your help!

# 2023-11-10 11:52:57 by RouterOS 7.11.2
# software id = KK65-RVIF
#
# model = CRS309-1G-8S+
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] name=LAN
/interface vlan
add interface=LAN name=LAN-vlan10 vlan-id=10
/interface wireless security-profiles
/ip pool
add name=dhcp_pool0 ranges=10.10.0.2-10.10.0.254
/ip dhcp-server
add address-pool=dhcp_pool0 interface=bridge1 lease-time=1d name=dhcp1
/port
/interface bridge port
add bridge=bridge1 interface=LAN-vlan10
add bridge=bridge1 interface=sfp-sfpplus2
/ip address
add address=10.10.0.1/24 interface=bridge1 network=10.10.0.0
/ip dhcp-server network
add address=10.10.0.0/24 dns-server=8.8.8.8 gateway=10.10.0.1
/ip firewall filter
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp

The config may partly work but it’s all wrong. Have a look at this tutorial about how to properly configure VLANs on mikrotik devices.

??? Its as switch not a router!

Check out this → https://help.mikrotik.com/docs/display/ROS/CRS3xx%2C+CRS5xx%2C+CCR2116%2C+CCR2216+switch+chip+features
and this → https://www.youtube.com/watch?v=YLtGQAQ8iS0

Thanks mkx. The tutorial helped. I was able to configered it using a single bridge with vlan filtering.
Although this is a switch, I am using routerOs so I should have most of the routing functions. I understand that those routing functions are CPU intensive.

I was testing the trunk port using a usb dongle connected to my pc. What I found was that the cheap dongle I was using did support VLAN properly on Windows but works fine when I use a different one.

Thanks for help!