-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Webview, which is wrapped around native Views, gets focus upon the first touch. Android only #28011
Copy link
Copy link
Closed
Labels
Component: ScrollViewComponent: WebViewRelated to the WebView component.Related to the WebView component.Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Describes a behavior that used to work on a prior release, but stopped working recently.Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.This issue can be reproduced in Snack or an attached project.Platform: AndroidAndroid applications.Android applications.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Metadata
Metadata
Assignees
Labels
Component: ScrollViewComponent: WebViewRelated to the WebView component.Related to the WebView component.Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Describes a behavior that used to work on a prior release, but stopped working recently.Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.This issue can be reproduced in Snack or an attached project.Platform: AndroidAndroid applications.Android applications.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Type
Fields
Give feedbackNo fields configured for issues without a type.
As it was described in this issue, a wrapped Webview inside native views gets focus upon the first touch on it.
#26858
This problem only appears on Android and we cannot reproduce it on iOS.
React Native version:
Steps To Reproduce
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@aryojaam/webview-scrollview-problem
Cause
We think that this PR has caused this problem. Particularly this method
We first experienced this problem when we upgraded our project from
react-native 59.xtoreact-native 60.x