You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work with @Wings1986 as well. It's possible that the #2985 ticket is a similar thing? That some pages wouldn't "work" could be a clickable link issue?
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
Here is html file used:
const links = document.querySelectorAll("a[href]");
[].forEach.call(links, (link) =>
link.addEventListener("click", (e) => {
e.preventDefault();
let target = e.target;
});
Here is react native code
<WebView
ref={webViewRef}
originWhitelist={["*"]}
source={{ html: currentPage.html }}
bounces={false}
setSupportMultipleWindows={true}
showsHorizontalScrollIndicator={false}
showsVerticalScrollIndicator={false}
javaScriptEnabled={true}
startInLoadingState={true} // when starting this component
javaScriptEnabledAndroid={true}
scalesPageToFit={true}
injectedJavaScript={window.isNativeApp = true; window.myPath = '${currentPage?.liquid?.page_current_url}';}
mixedContentMode="compatibility"
onNavigationStateChange={handleWebViewNavigationStateChange}
onMessage={handleMessage}
/>
I got hrefUrl is empty on android version. but got correct value on iOS version
What is the solution?
The text was updated successfully, but these errors were encountered: