breautek commented on issue #1147:
URL: https://github.com/apache/cordova-ios/issues/1147#issuecomment-921768223


   Cordova doesn't do any layouts directly in regards to DOM elements. That's 
the WebView responsibility, so for that, you'll need to raise an issue with 
WebKit.
   
   But that isn't what's causing what you see in your screenshots. I created my 
own reproduction app and saw both your screenshot and the constraint error. The 
reason why you see no list items (they actually exist with no label) is because 
you have invalid DOM.
   
   You should have:
   
   ```
   <!-- This is the correct <option> schema
   <option value="1">1</option>
   
   <!-- this is incorrect -->
   <option label="1" value="1"></option>
   ```
   
   `label` attribute does work in modern browsers, it doesn't work in WKWebView.
   
   Please let me know if this solves your issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to