Closed Muchaszewski closed 1 year ago
Not sure if this can be implemented, but will check. This may help when implementing.
CSS isolation: isolate
now sets ignoreParentGroups
to true. This could be automated but it is hard to do and may affect performance. Also this resets opacity and it becomes very hard to calculate opacity like browsers. So users should explicitly set isolation: isolate
if they want this behavior.
Added in the v0.14.0
Issue
Consider the following code
Current outcome
The button is not responsive
Expected outcome
The button can be clicked, and the div is unclickable and does not block the UI/Gameplay Ray casting. So if something is below it's still clickable
Additional info
So there should be the following cases when considering the following hierarchy.
where pe = pointerEvents
Note
When div does not have a background color and pointer events, it works as intended, where you can interact with the button and the elements below ReactUICanvas