Skip to content

Need help with Preventing back gesture with a child slot component #767

Answered by arkivanov
OsmanMusse asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the reproducer! After checking it, it looks like an issue with either the Cupertino widgets used inside PostDetailScreen, or with the code related to nested scrolling. The predictive back gesture gets disabled correctly because you have handleBackButton = true specified for the Child Slot. It looks like an issue with the modal widget itself.

I suggest to try reproducing the issue without Cupertino and/or with the pager. If not reproducible, then maybe file an issue in the Cupertino's repository. I couldn't try it myself because for some reason the IDE shows an internal error and the syntax highlighting is disabled (only for this project).

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@OsmanMusse
Comment options

@arkivanov
Comment options

@OsmanMusse
Comment options

@arkivanov
Comment options

Answer selected by OsmanMusse
@OsmanMusse
Comment options

@OsmanMusse
Comment options

@arkivanov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants