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
Having a third-party library set a generic, commonly used variable like --vh is a recipe for conflicts. In my app I'm adding my own logic for calculating its value and noticed it was being overwritten by some dependency, forcing me to search them one by one to find the culprit.
A better solution would be to add a prefix to this (or any) global CSS variable set by Pera Connect, e.g., --pera-vh.
The text was updated successfully, but these errors were encountered:
In https://github.com/perawallet/connect/blob/main/src/util/screen/screenSizeUtils.ts the library sets a CSS variable named
--vh
on the root<html>
element.Having a third-party library set a generic, commonly used variable like
--vh
is a recipe for conflicts. In my app I'm adding my own logic for calculating its value and noticed it was being overwritten by some dependency, forcing me to search them one by one to find the culprit.A better solution would be to add a prefix to this (or any) global CSS variable set by Pera Connect, e.g.,
--pera-vh
.The text was updated successfully, but these errors were encountered: