Skip to content

Commit

Permalink
dont skip if in a scroller
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Nov 12, 2023
1 parent 38af65e commit 5d572b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/focus/FocusManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class FocusManager extends FocusManagerImpl {
private function onScreenMouseDown(event:MouseEvent) {
var list = Screen.instance.findComponentsUnderPoint(event.screenX, event.screenY);
for (l in list) {
if (isOfType(l, IFocusable)) {
if (isOfType(l, IFocusable) && @:privateAccess !cast(l, Component).isScroller) {
return;
}
}
Expand Down

0 comments on commit 5d572b7

Please sign in to comment.