I have an app with a bluetoothserial subscribeRawData listener in my app.component(probably bad placement, but I needed it to be accessable from all app). There is a page with segments, which has some custom event listeners which I use to transfer data from bluetooth listeners.
I tried to make there two segments. And it worked like this:
Page loads with default segment open. It gets data from bluetooth properly. If I try to change segment, page stops responding until I send more data by bluetooth. Then the segment changes. And if I try to change it back, it does nothing until I tap anywhere on the page.
All code works well if I don't use segments and everything is ok when I use randomizers instead of bluetoothserial listeners.
Will provide code if needed.