Open SebastianWaloszek opened 3 weeks ago
Hi @SebastianWaloszek,
Thanks for the detailed report, and I can reproduce this issue with the code provided.
I think the root cause of this issue is the same as #152. See this comment for details: https://github.com/fujidaiti/smooth_sheets/issues/152#issuecomment-2171043447.
Describe the bug :lady_beetle:
I want to be able to dynamically change
swipeDismissible
ofModalSheetPage
fromtrue
tofalse
based on the passed route arguments to make some modal pages swipe dismissible and some not. When attempting to do that the modals break with the following error:Video :film_strip:
https://github.com/fujidaiti/smooth_sheets/assets/24882888/a30caae3-a99e-47e3-a8a7-0f2c173af047
How to reproduce? :smiling_imp:
swipeDismissible
set totrue
.swipeDismissible
tofalse
.Expected behavior :balance_scale:
First modal page is swipe dismissible and the second one is not.
Sample project :microscope:
Slightly modified version of ai playlist generator.