-
Notifications
You must be signed in to change notification settings - Fork 14
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
2886: Not working Link in Aschaffenburg #2899
Conversation
Code Climate has analyzed commit e008f12 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 0.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 74.0%. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for yet another PR 🚀 I have three points about this one:
-
To be honest, I don't quite understand the code, why do you want to disable scrolling?
-
I tested it on an emulator (Pixel 7 API 34), and the problem still occurred.
Screen_recording_20240830_122828.webm
It seems to not be happening when you open the "Zahlen aus Aschaffenburg" link a second time, so maybe you forgot to go back to the previous screen to reopen the page in your development? That at least sounds like something I would forget...
- As written in the issue ticket about this, I think it's a larger issue that doesn't really have anything to do with the remote content. Maybe we should discuss this on Monday at the Weekly to see if other people have some ideas about what's going on here, but it really sounds a lot like Found articles jump upwards and hide title #2160 to me.
2024-08-30.13-45-35.mp4Tested on Pixel 6a (API 33) |
Aaaah, I see, the difference is that I'm not clicking on an anchor, I'm just clicking somewhere on the screen. So I guess it's half-way there? But also, I would recommend not working on this ticket more until we've discussed it on Monday. If this is really a bug in react-native-webview, we'll have to decide if we maybe want to patch the package instead. |
About patching this package someone did this already but for some reason it got closed: |
Nice find! Looks like that could be a good starting point; we'd have to make sure that we indeed don't have inputs or other possible elements that this bug fix might misbehave with. |
@bahaaTuffaha I think this does not fix the issue, right? Should we close the PR then? |
Short description
When pressing an anchor tag inside the WebView , the scroll position jumps down.
Proposed changes
Side effects
None.
Testing
Resolved issues
Fixes: #2886