-
Notifications
You must be signed in to change notification settings - Fork 35
Root DOM blocks other elements in popup mode #20
Comments
Hello @imrobinized. Thanks for reporting the issue but I'm not sure I understand it since I can't reproduce the problem. Where are you adding the blocked content exactly? |
Hi @alexgarces, here's the example. I added some contents to the example you provided to reproduce the case. |
@alexgarces Indeed, in popup mode you still generate this empty div : <div
class="ReactTypeformEmbed"
style="position: absolute; top: 100px; left: 0px; width: 100%; height: 100%; overflow: hidden;">
</div> Since it is an absolute 100% width and height div it catches pointer events for the HTML elements right after it in the regular flow (cf. @imrobinized screenshot). For what I have seen you don't even use it for the form popup so I think it cannot break anything to remove the |
Btw @imrobinized an easy "dirty fix" : <ReactTypeformEmbed popup ... style={{ width: 0, height: 0 }} /> |
same problem |
Came for the same issue and this solved it! |
I added some content on the example you provided. Turns out the root DOM would block it above.
I think the root DOM could be hidden in popup mode.
The text was updated successfully, but these errors were encountered: