There are interfaces (L3 entities, essentially anything carrying IP address) and there are ports (L2 entities). When something is set as member of bridge, it becomes a port. And it should not be used as interface. Ever. Bridge has a few personalities, one of them being an interface which allows communication between router’s CPU (software stack) and bridged network.
In short: whenever bridge is used and device needs to communicate with (any of) bridged network, it’s bridge interface which has to be used to setup such connectivity.
In your particular case: if you want switch IP to belong to some VLAN, then create vlan interface, anchored to bridge (not to some of member ports), and then use that vlan interface to set IP address. If VLANs are not in the mix, then set IP address directly on bridge interface.