-
Notifications
You must be signed in to change notification settings - Fork 262
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
Redrawing of views #55
Comments
Hello @iankoex, sorry, I'm confused - is this piece of code a proposed change to the lib? I mean, do you want me to include this into project to prevent reloading of the content? Why would you want to prevent content reloading? Would you please specify what problem exactly you are having, what is the desired behaviour, and what is the proposed solution, as is customary. |
If the popup is triggered in a scrollview, the content in this case the scrollview reloads. This makes the scrollview go to the top, offset of zero. The snippet above does not reload the content. The desired behaviour is that when the popup is shown, the scrollview maintains its position(offset). |
Hey again @iankoex, got your point, however your suggested solution kind of beats the purpose of lazy load - .overlay(sheet()) is called in any case in your scenario. Keeping in mind your described problem, I restructured a little. I included my solution into 1.0.4 release, please give it a go, and do let me know if that didn't fix your problem. Have a great day! |
Hello @iankoex, it's been a while so I'm gonna this issue, but please do let me know if the problem is not fixed. Have a good day! |
Changing how the view is shown would prevent reloading of the content.
The text was updated successfully, but these errors were encountered: