cjorasch
cjorasch
+1 for mapping to properties. This already happens with `componentProps` and seems like a pretty standard pattern for what developers would end up doing anyway. Even the Stencil website says...
It also can lead to problems on iOS. I was using it in a PWA and when the modal was displayed the entire screen went blank with no way to...
### Comments on option 2 > Developers might be confused when React sets an attribute instead of a property depending on how they’ve chosen to load their element. Do consumers...
> In the case where a custom element is lazy loaded and "upgraded", it will initially have undefined properties. This addresses that use case by making sure those elements still...
We are running into the same issue. I am not sure it is something that can easily be put into a GitHub repo because it relates to the CSP headers...
One approach that I have sometimes used when wrapping other components is to use a Functional Component as the wrapper. This allows you to extend or alter all of the...
This seems like a potentially huge foundational issue for Stencil (and Ionic) and it is a little shocking to see so little official response for something that has been lingering...
There might be challenges if running on a mobile device (due to keyboard popup) but it seems like you would always want to set focus on a desktop web page....