maslianok
maslianok
Can you try to remove this line `router.replace(${path}?tab=${e});`? Does it work without it? I think `router.replace` triggers full rerender and somehow messes everything up...
react-resize-detector v7.1.1 is updated to support React 18. Thank you everyone for your patience. I was a bit off from my OS projects according to the russian invasion to Ukraine....
wow! this issue got 5 likes! And I agree - it's definitely nice to have feature. It would be great if someone helps us to implement this!
Yeah, would be great to make it work on Android
Hi @lexanth Thanks for reporting this issue and for providing a code snippet. Spent some time trying to fix the problem and failed. The problem is that `ref` is undefined...
Thanks for such detailed issue and links how to fix this. Fixed in this commit https://github.com/maslianok/react-resize-detector/commit/9625f67a48ee76a788b316c3fede083a419bd661#diff-1fdf421c05c1140f6d71444ea2b27638R36
@ksocha @jsakas Thanks for reporting it. I'm going to reopen the issue
To provide some context: i've removed `requestAnimationFrame` here https://github.com/maslianok/react-resize-detector/issues/122 `requestAnimationFrame` prevented the library to work properly when it was initialized in the background. To fix this bug we have to...
Sorry, guys, I have no quick fix for this problem. Earlier we blindly added `requestAnimationFrame` without understanding the problem, which caused other bugs to appear. ------ For now we can...