Closed tylerprice1 closed 1 year ago
Updated createNotifier to conditionally call setSize based on the current size. Also reference my comment here: https://github.com/maslianok/react-resize-detector/issues/237#issuecomment-1489031131
createNotifier
setSize
size
Things work okay in the local example, and I didn't see any unit tests, but I'm happy to do any specific testing that you guys need.
This has the enhancement label, but it's fixing a React error. Should it be labelled a bug instead?
Updated
createNotifier
to conditionally callsetSize
based on the currentsize
. Also reference my comment here: https://github.com/maslianok/react-resize-detector/issues/237#issuecomment-1489031131Things work okay in the local example, and I didn't see any unit tests, but I'm happy to do any specific testing that you guys need.