react-native-in-app-debugger 1.0.81 → 1.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/useAnimation.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-in-app-debugger",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "This library's main usage is to be used by Non-Technical testers during UAT, SIT or any testing phase.",
5
5
  "main": "index.jsx",
6
6
  "scripts": {
package/useAnimation.ts CHANGED
@@ -125,7 +125,12 @@ export default (defaultBadgeHeight) => {
125
125
  translateX: position.x,
126
126
  translateY: position.y,
127
127
  isOpen,
128
- setIsOpen,
128
+ setIsOpen: (v) => {
129
+ Keyboard.dismiss();
130
+ setTimeout(() => {
131
+ setIsOpen(v);
132
+ }, 100);
133
+ },
129
134
  borderRadius: isOpen ? 0 : defaultBorderRadius,
130
135
  shouldShowDetails,
131
136
  };