roubachof / Sharpnado.Tabs

Pure MAUI and Xamarin.Forms Tabs, including fixed tabs, scrollable tabs, bottom tabs, badge, segmented control, custom tabs, button tabs, bendable tabs...
MIT License
502 stars 66 forks source link

Using TabType="Scrollable" missing scroll/focus #9

Open renelaerke opened 4 years ago

renelaerke commented 4 years ago

I'm very fond of this component which i find very flexible and performant. Thank you !

However i miss the functionality to automatically (or by calling a build-in method inside OnSelectedIndexChanged) to "automatically" scroll the TabHostView to the currently selected TabItem

Whether I set the SelectedIndex via code to an index currently not visible (not scrolled into view) OR the user "taps" on a partly visible TabItem - the TabHostView is not automatically scrolling the TabItem to be fully visible.

I may very well be missing setting a Property on TabHostView to some "magic" value - but I did consult the sources on github - and i couldn't find either a method nor something that seem to ask the private _scrollView to scroll items to be visible.

What am I missing ?

Regards René

roubachof commented 3 years ago

you are missing nothing, it lacks the functionality :)

vhugogarcia commented 2 years ago

Hello @renelaerke were you able to implement this functionality somehow? I'm also trying to implement it.

Thanks in advance

renelaerke commented 2 years ago

Sorry, but no.

Instead we had to restructure our data-design.

😬 René