Sharpnado.Tabs icon indicating copy to clipboard operation
Sharpnado.Tabs copied to clipboard

Using TabType="Scrollable" missing scroll/focus

Open renelaerke opened this issue 4 years ago • 3 comments

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é

renelaerke avatar Nov 03 '20 19:11 renelaerke

you are missing nothing, it lacks the functionality :)

roubachof avatar Jan 18 '21 10:01 roubachof

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

Thanks in advance

vhugogarcia avatar Aug 20 '22 13:08 vhugogarcia

Sorry, but no.

Instead we had to restructure our data-design.

😬 René

renelaerke avatar Aug 22 '22 05:08 renelaerke