Post

Replies

Boosts

Views

Activity

Reply to WkWebView breaks with isElementEnabled preference set to true on fullscreen pause
SOLVED: To anybody else that encounters the issue, it seems the way I was setting my constraints was causing the issue. initially from my linked project, I was setting the constraints like so NSLayoutConstraint.activate([ MainWebView.leadingAnchor.constraint(equalTo: view.leadingAnchor), MainWebView.trailingAnchor.constraint(equalTo: view.trailingAnchor), MainWebView.topAnchor.constraint(equalTo: view.topAnchor), MainWebView.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) Instead, I just set MainWebView = WKWebView(frame: view.bounds, configuration: webConfiguration) as well as MainWebView.translatesAutoresizingMaskIntoConstraints to true and MainWebView.autoresizingMask = [.width, .height] and this seems to work without any errors. I hope this is helpful to someone out there!
6d
Reply to Navigating WKWebKit form on MacCatalyst with keyboard
Hello, I am still experiencing this same issue and have yet to find a solution almost a year and some months later, did you ever find a solution to this? its seems rather wild to me that this is still an issue when tab / keyboard navigation in app is a necessity. I have found for some reason the only way I am able to tab through my app is to hold option+tab which is a bad user experience considering I was able to find that by accident. My current solution is to inject javascript into the actual page to allow me to tab through different types of elements, however it doesn't fully work in areas such as re-looping through the pages elements once it reaches the bottom, as well as missing some elements. I would certainly prefer to enable a setting or two to this method. Thanks.
Jun ’24