IDEA-299807 skip mouse press/release events in activity flow
Consider the following: - mouse is pressed on an item component in the bar; - MOUSE_PRESSED triggers activity tick; - the bar is updated from context (which happens immediately because no focus events are in the queue at this point); - item components are changed; - mouse click (which should've requested a focus on the clicked component) is not even invoked because the clicked component does not exist at this point. After this change, the activity will be ticked after MOUSE_CLICKED event, after all listeners are run, one of which can have a chance to request the focus in nav bar, preventing the bar to update its items. GitOrigin-RevId: 542050befde6ca29314c561b4b5a7b4e218ab3cf
Showing
+12 -2
Please register or sign in to comment