-
Notifications
You must be signed in to change notification settings - Fork 12
useOverlayPosition issues #18
Comments
Im not sure if this is related to this issue, but I'm trying to use this package with import getCss from 'dom-helpers/query/style';
import getOffset from 'dom-helpers/query/offset';
import getPosition from 'dom-helpers/query/position';
import getScrollLeft from 'dom-helpers/query/scrollLeft';
import getScrollTop from 'dom-helpers/query/scrollTop';
import ownerDocument from 'dom-helpers/query/ownerDocument'; This files don't seem to exist in the Is it referencing an older version of |
I am not sure, it seems to be requiring 3.3.1, in any way I'd really hope someone at GeekyAnts could check this out, it's been bothering me for a while, the 2nd point only seems to happen from time to time but the first point is making my overlay to open on the top left every single time at the first opening |
I have mitigated this using your "react-native-popper" package, it makes it so it's only a bit weird on the first start of any instance and then all other instances appear on the correct place no matter what, the resizing also breaks sometimes but I'm sure that's just because of my media queries, so at the moment this is no longer a problem for me. |
@intergalacticspacehighway I think my issue was related to some dependency versions. If it crops up again I'll set up a more detailed issue. |
@WildEgo the popper library does simplify this entire thing. Issue is due to the async calculation nature of layout in Views. Check this out If you still want to use the hook. |
Hey guys I found this package/library not long ago, I finally had some time to implement it on my current project and I found 2 issues them being:
It could be my implementation and if so I'd happily provide snippets of my code to try and help u and me figure what the problems are.
Thanks in advance,
Luis Bizarro.
The text was updated successfully, but these errors were encountered: