Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabContoller inside pageview causes indicator to change index. #25

Open
dickverweij opened this issue Jan 12, 2022 · 0 comments
Open

TabContoller inside pageview causes indicator to change index. #25

dickverweij opened this issue Jan 12, 2022 · 0 comments

Comments

@dickverweij
Copy link

Inside a PageIndicator I have a PageView which hosts a DefaultTabcontroller with 2 tabs.

If i change the active tab index inside the page a ScrollNotification with depth = 1 will be send to the _onScroll method in the PageIndicator causing incorrect behavior (cause the tab is changed not the page in the PageView)

if i change the index of the PageView a ScrollNotificaiton with depth = 0 will be send to the _onScroll method in the PageIndicator

Typically a ScrollNotification Listener should respond to a scrollnotification with depth of only 0,

could this be changed?

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

No branches or pull requests

1 participant