Other modals flickering while closing dropdown
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
Other modals flickering while closing dropdown
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-element-dropdown/src/components/Dropdown/index.tsx b/node_modules/react-native-element-dropdown/src/components/Dropdown/index.tsx
index 2a73f2f..c1a3147 100644
--- a/node_modules/react-native-element-dropdown/src/components/Dropdown/index.tsx
+++ b/node_modules/react-native-element-dropdown/src/components/Dropdown/index.tsx
@@ -638,7 +638,7 @@ const DropdownComponent = React.forwardRef<IDropdownRef, DropdownProps<any>>(
);
const _renderModal = useCallback(() => {
- if (visible && position) {
+ if (position) {
const { isFull, width, height, top, bottom, left } = position;
const onAutoPosition = () => {
Same issue while opening the dropdown as a modal... Still finding for fix
Your solution worked for my issue with the Modal not closing in react-native-windows v0.79. Thank you!
Same issue while opening the dropdown as a modal... Still finding for fix
I tried removing itemContainerStyle, and it worked. I removed the border style and border width from itemContainerStyle, and that resolved the issue.