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
This also applies to children of siblings, and seems to depend on the order of elements. I believe the positioning messes w/ z-levels which means click events don't always propogate to react-ink.
Hmm. This is entirely because of relative/absolute positioning with z-index. The Ink component needs to catch the click/touch handlers in order to receive the signals to display the effect. If it isn't on top, that will not happen.
The easy fix would be to allow the Ink component to accept a style property (to use the second to last case as an example):
We should make it clearer in the readme about the z-indexing issues. Would you be willing to give your thoughts on this update once I'm able to write it up (hopefully later today)?
This also applies to children of siblings, and seems to depend on the order of elements. I believe the positioning messes w/ z-levels which means click events don't always propogate to react-ink.
Examples:
#1 Does work:
#2 Does work:
#3 Doesn't work:
#4 Doesn't work:
#5 Doesn't work:
#6 Does work:
#7 Does work (best workaround)
The text was updated successfully, but these errors were encountered: