bvaughn / react-virtualized-auto-sizer

Standalone version of the AutoSizer component from react-virtualized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not triggering onResize on screen rotation

MatteoGioioso opened this issue · comments

Sorry to bother here but I have just noticed that onResize is not triggered during rotation, only when we are going from landscape to portrait on mobile.

Take a look here: https://codesandbox.io/s/funny-wind-20bvy
Is this expected behavior? If yes what is the workaround to set a new width or height?

Thanks

I tested this myself (see here) and was not able to repro. The resize is triggered after rotation in both directions.

Maybe this was a browser bug that has since been fixed.