Skip to content

Modal UI Glitch #1

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
robert-stevens opened this issue Dec 6, 2017 · 0 comments
Open

Modal UI Glitch #1

robert-stevens opened this issue Dec 6, 2017 · 0 comments

Comments

@robert-stevens
Copy link

robert-stevens commented Dec 6, 2017

Hi,

Thanks for the great tutorial. I cloned the repo, ejected it and ran it with react-native run-ios.

It works great. I then upgrade the dev dependancies from:


{
  "name": "react-native-drag-and-drop-tags-tutorial",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "babel-preset-react-native-stage-0": "^1.0.1",
    "flow-bin": "^0.49.1",
    "jest-expo": "^21.0.2",
    "react-test-renderer": "16.0.0-alpha.12"
  },
  "scripts": {
    "start": "react-native start",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "test": "node node_modules/jest/bin/jest.js --watch",
    "flow": "flow"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "react": "16.0.0-alpha.12",
    "react-native": "^0.48.4",
    "react-native-vector-icons": "^4.4.2"
  }
}

To:

"react": "16.0.0-beta.5",
"react-native": "0.49.3",

Reran it, and then experienced this weird UI Glitch:

screen shot 2017-12-06 at 11 22 21

This happens after clicking "add", it successfully adds the tag to the list, closes the Modal and then "reopens" it. And I had a look that the modalVisible is actually remains false.

Do you know how to fix this?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant