EnsembleUI / ensemble

Build native apps 20x faster than Flutter, RN or any other tech
https://ensembleui.com/
BSD 3-Clause "New" or "Revised" License
116 stars 15 forks source link

Scrollable TabBar #1339

Open sharjeelyunus opened 4 months ago

sharjeelyunus commented 4 months ago

The tabbar should have a way to have scrolling categories. In the scrollable tabbar, there should be a single page showing all the widgets and categories on top as tabbar items, when the user clicks on an item it should scroll to the relevant widget, and if the user is scrolling the screen the tabbar items should change based on his position.

see this as example https://github.com/EnsembleUI/ensemble/assets/61178058/dd928b21-2ddf-4aa3-a322-c9885a39a6ad

kmahmood74 commented 4 months ago

looking at it, apparently if you set tabPosition to stretch it sets the isScrollable to true which is a bit bizzare. It does not expose isScrollable otherwise which is doubly bizarre. @vusters do you know why?