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
As I was browsing the code (have tested it as well)
Whenever you use the same root element though with different viewport options (different elements are being checked) only the already existing options get fetched.
What you do is check if the root element exist if yes get that instance.
Yes it's simple optimization that was introduced in the past. But it need to be extend to support more advanced cases. It's on my todo list, but I haven't had time to do this yet.
As I was browsing the code (have tested it as well)
Whenever you use the same root element though with different viewport options (different elements are being checked) only the already existing options get fetched.
What you do is check if the root element exist if yes get that instance.
The text was updated successfully, but these errors were encountered: