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
Some background to the issue... I'm using React and I'm calling ElementQueries.init() from within the component that contains the divs I need to style. This works initially, but when I refresh the page, it stops working. Curiously, when I navigate to another page (causing my component to unmount) and then navigate back to the original page (causing my component to remount), it works again. (When I say it works I mean the styling gets applied).
So the issue only happens when I refresh. Any ideas what's causing this?
Also I tried calling ElementQueries.init() from my App.js file but for some reason my styling doesn't get applied when I call it from. Again, not sure why this is.
Any help would be greatly appreciated :)
The text was updated successfully, but these errors were encountered:
Some background to the issue... I'm using React and I'm calling ElementQueries.init() from within the component that contains the divs I need to style. This works initially, but when I refresh the page, it stops working. Curiously, when I navigate to another page (causing my component to unmount) and then navigate back to the original page (causing my component to remount), it works again. (When I say it works I mean the styling gets applied).
So the issue only happens when I refresh. Any ideas what's causing this?
Also I tried calling ElementQueries.init() from my App.js file but for some reason my styling doesn't get applied when I call it from. Again, not sure why this is.
Any help would be greatly appreciated :)
The text was updated successfully, but these errors were encountered: