Skip to content

Scrollable tabbar - #286

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

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

Conversation

@fricze

@fricze fricze commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

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.

@anhosh anhosh left a comment

Copy link
Copy Markdown
Owner

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

fricze commented Aug 26, 2025

Copy link
Copy Markdown
Contributor Author

Super glad to see it merged. Thanks!

Pozdrowienia :)

@anhosh

anhosh commented Aug 27, 2025

Copy link
Copy Markdown
Owner

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