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
fix: issue #720 where there is a conflict with typescript >= 4.0 typings for Window.visualViewport and same type defined by this library (#725)
This fixes#720.
At moment, microbundle does not support typescript >= 4.0, where typings Window has visualViewport exists.
So, we can't upgrade typescript to 4.0, and just add a local hack to compute function to prevent typings conflict in global Window.visualViewport interface - between this definition https://github.com/stipsan/compute-scroll-into-view/blob/v1.0.14/src/index.ts#L20 and typescript >= 4.0 definition
0 commit comments