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

Jump to initialLocation if I press refresh in browser #22

Closed
csinesz opened this issue Jan 20, 2021 · 14 comments
Closed

Jump to initialLocation if I press refresh in browser #22

csinesz opened this issue Jan 20, 2021 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@csinesz
Copy link

csinesz commented Jan 20, 2021

No description provided.

@csinesz
Copy link
Author

csinesz commented Jan 20, 2021

At first show the current page where I pressed the refresh but after jump to main location.

@slovnicki
Copy link
Owner

@csinesz I cannot reproduce with example app using beamer v0.2.0. Are you using version 0.2.0?
If you still have the issue, can you provide a minimal example app demonstrating the problem?
Peek 2021-01-20 19-17

@csinesz
Copy link
Author

csinesz commented Jan 20, 2021

Hi @slovnicki, I've tried it with your sample APP, and after few sec jumped to main screen. (Chrome - Mac OS)

@slovnicki
Copy link
Owner

@csinesz Still, cannot reproduce on Mac also.
Am I doing everything right? Should my actions in these videos lead to the bug?

Screen.Recording.2021-01-20.at.19.49.28.mov

@csinesz
Copy link
Author

csinesz commented Jan 21, 2021

@slovnicki here is my example to bug
https://user-images.githubusercontent.com/49332555/105335007-d126a880-5bd7-11eb-8377-3e769347690d.mov

@slovnicki slovnicki self-assigned this Jan 21, 2021
@slovnicki slovnicki added the bug Something isn't working label Jan 21, 2021
@slovnicki
Copy link
Owner

slovnicki commented Jan 24, 2021

@csinesz is this bug still present in the books example at v0.3.0?

@csinesz
Copy link
Author

csinesz commented Jan 24, 2021

@slovnicki yes it still present - try to refresh books page (where list books) and after refresh move the cursor to one of book (ListTile). Buttons, Images, ListTile, Text (any widget?) ... can trigger this bug.

@slovnicki
Copy link
Owner

Interesting. I definitely cannot reproduce on Linux, but will try later on Mac

@Vrachno
Copy link

Vrachno commented Jan 29, 2021

Hi. I can also reproduce this bug, but only in the chrome window/tab that is opened via Android Studio (which I am using for development) when I run the project. If I copy and paste the link in a new chrome window, a new tab in that initial window, or any other browser, it works as it should. Maybe it has to do with the properties with which Android Studio opens chrome.

@slovnicki
Copy link
Owner

@Vrachno wow, that is really insightful! Thank you for this precious discovery.
So I wasn't able to reproduce because I always run it from terminal via flutter run -d chrome and I don't use Android Studio at all.

I'm wondering, can you @csinesz also confirm that the issue is only present in chrome opened by Android Studio?

@csinesz
Copy link
Author

csinesz commented Feb 2, 2021

@slovnicki @Vrachno Yes I can confirm - If I build the APP and run in browser - it works perfect. But Android Studio makes bug... I think you can close this issue.

@SoftXperience
Copy link

Maybe you should mention this in the Docs... I also stumbled about this "bug" and spent some time fiddeling it out until I found this reports...

@slovnicki
Copy link
Owner

slovnicki commented May 17, 2021

@SoftXperience Indeed, I should.
I will add a section with "common issues / tips"; #267

@SoftXperience
Copy link

Great, thank you. Because it is really annoying as it also renders hot reload unusable. But I found a solution / work around in #123 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants