Skip to content

Scrollable tabbar#286

Merged
anhosh merged 4 commits intoanhosh:mainfrom
fricze:scrollable-tabbar
Aug 24, 2025
Merged

Scrollable tabbar#286
anhosh merged 4 commits intoanhosh:mainfrom
fricze:scrollable-tabbar

Conversation

@fricze
Copy link
Contributor

@fricze fricze commented Aug 8, 2025

Solving #285
While rendering tab bar body I return tab_hovered from tabs function so it can be passed to tab_bar_scroll that handles scrolling. Thanks to that scroll event is handled when pointer points over tab body, while other events like drag and click are still handled properly on particular tabs.

I believe this is not a breaking change, just a minor fix, so I created PR directly to main. Looking at the code I assume that scroll was supposed to work this way from the beginning.

Copy link
Owner

@anhosh anhosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you so much for addressing this!

@anhosh anhosh merged commit 469dd38 into anhosh:main Aug 24, 2025
4 checks passed
@anhosh anhosh linked an issue Aug 24, 2025 that may be closed by this pull request
@fricze fricze deleted the scrollable-tabbar branch August 26, 2025 08:47
@fricze
Copy link
Contributor Author

fricze commented Aug 26, 2025

Super glad to see it merged. Thanks!

Pozdrowienia :)

@anhosh
Copy link
Owner

anhosh commented Aug 27, 2025

Dzięki, również pozdrawiam :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tab bar body doesn't handle scroll event. Only scrollbar does

2 participants