Closed matthesjh closed 3 years ago
Merged and released
Actually, #118 only fixed the keyboard part, not the dimensions
Looks like @types/react-native is not updated to 0.65.1 yet, so I can't change to using the subscription event yet because TypeScript won't build. Once @types/react-native is updated, I can complete this pretty easily.
i'll be watching this.
I also have this warning all the time. waiting as well...
@SteffeyDev @types/react-native
is now available in version 0.65.1
.
@SteffeyDev any news on this? can you help with it please?
Morten
Released v4.1.0
Describe the bug
Starting with
react-native
version 0.65.0 the methodDimensions.removeEventListener
is deprecated and produces a warning when closing the popover. TheDimensions.addEventListener
method now returns anEventSubscription
, which can be used to remove the event listener (see https://github.com/facebook/react-native/commit/c47a03563db72d1580bf87b7729bd22ce6ca63dd). FurthermoreKeyboard.removeListener
produces an error when closing the popover, because this method has been removed (see https://github.com/facebook/react-native/commit/1049835b504cece42ee43ac5b554687891da1349).Device/Setup Info:
react-native
version: 0.65.1react-native-popover-view
version: 4.0.2