Open sergeylappo opened 3 years ago
Test setup:
vrouter: v1.2.0+14
Chrome - Linux
Important Note: Since I used Linux, I had to change the source code of VRouter
to force VCupertinoPage
to be used (like it is on Mac). This is the only difference between Mac and Linux inside VRouter
so it should do the trick.
As you can see, this works for me. Can you tell me if you have the issue when using precisely the same setup as me (apart from using a Mac)? If so, I will get a hold on a Mac and try again using this setup.
Example had:
vrouter: ^1.2.0+7
But upgrading the example fixed it.
Unfortunately, my app is already using v1.2.0+14.
Would investigate how to trigger it without my app.
I know VRouter had an issue with popping pages at some point. I even remember an issue with VCupertinoPage
popping at some point.
For example the CHANGELOG for v1.2.0+13
is Dynamically moving VNester.child around the widget tree could cause popping issues. While it does explicitly mention VCupertinoPage
it is possible that this was included.
Nothing 100% sure though, so be sure to let me know if you can reproduce the bug with the latest version !
Haha! Was able to reproduce, cool bug, for sure: 100% reproduction if mouse gets out of the window during the gesture.
And never reproduces in other cases...
It took quite a while to figure out while my reproduction rate dropped from 50% to near never :D
Seems like I'm less nervous in the late evening 🤣
https://user-images.githubusercontent.com/9092362/140412957-e6cb0d4c-11d2-423b-ab82-dfa030285617.mov
I can reproduce this issue. I understand why the issue happen. Applying the fix breaks other things so I will need some time to see exactly what's going on.
Thanks for the nicely written issue and that's quite impressive that you found that so specific bug ^^
Thanks for the quick reply and triage.
It’s not an urgent issue at all, but the worst thing - there’s currently no workaround without disabling the gesture. And this leads to an app death, so hopefully it’ll get its fix once.
Steps to reproduce:
OSes This issue was reproduced in an example app, using chrome. In my app it also reproduces with at least Mac OS.
Stacktrace looks something like and repeats many many times:
App behaves correctly if navigation bar is used instead of gestures