GithubHelp home page GithubHelp logo

bulenttastan / react-native-list-popover Goto Github PK

View Code? Open in Web Editor NEW
166.0 7.0 36.0 23 KB

Popover to render a selectable list

License: MIT License

JavaScript 100.00%
react-native component list popover

react-native-list-popover's People

Contributors

apolkingg8 avatar bulenttastan avatar dorthwein avatar explodingcabbage avatar gwilakers avatar wzywno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-list-popover's Issues

i have a issue in x code

2017-02-13 19:15:27.657 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'i.array')
2017-02-13 19:15:27.661 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'i.array')
2017-02-13 19:15:27.679 [error][tid:com.facebook.react.JavaScript] Application Roger has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
2017-02-13 19:15:27.709 Roger[11870:162549] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'i.array')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'i.array'), stack:

LitsView removed

We can't use yours module because in new release of react-native (0.60.5) the ListView was removed!

Please when resolve it tell us!
Tks.

Problems in Android / general rendering issue

Straight from example, this.showPopover method:

Warning: Any use of a keyed object should be wrapped in React.addons.createFragment(object) before being passed as a child.

And it does not show

Install breaks app

As soon as this node module is installed and the app is built, I get a blank screen in the simulator with the following feedback.

React Packager console:

Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/CustomComponents/ListView/ListView.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module rebound from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js
Unable to resolve module rebound from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/ReactIOS/WarningBox.js
Unable to resolve module Dimensions from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/ListPopover.js
Unable to resolve module Dimensions from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/ListPopover.js
Unable to resolve module rebound from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/ReactIOS/WarningBox.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/CustomComponents/ListView/ListView.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module rebound from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
Unable to resolve module react-timer-mixin from /Users/chris/Apps/CoolReactApp/node_modules/react-native-list-popover/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js

Xcode console:

2015-09-21 21:46:07.040 [error][tid:com.facebook.React.JavaScript] 'Error: \n stack: http://localhost:8081/index.ios.bundle:27645:47\nrequire@http://localhost:8081/index.ios.bundle:254:20\nhttp://localhost:8081/index.ios.bundle:26695:23\nrequire@http://localhost:8081/index.ios.bundle:254:20\nhttp://localhost:8081/index.ios.bundle:1660:17\nrequire@http://localhost:8081/index.ios.bundle:254:20\nhttp://localhost:8081/index.ios.bundle:1434:18\nrequire@http://localhost:8081/index.ios.bundle:254:20\nrequire@http://localhost:8081/index.ios.bundle:200:22\nglobal code@http://localhost:8081/index.ios.bundle:45496:9\n line: 27645\n message: undefined is not an object (evaluating \'RCTScrollViewConsts.KeyboardDismissMode.None\')', { [TypeError: undefined is not an object (evaluating 'RCTScrollViewConsts.KeyboardDismissMode.None')]
  line: 27645,
  column: 47,
  sourceURL: 'http://localhost:8081/index.ios.bundle' }
2015-09-21 21:46:07.044 [error][tid:com.facebook.React.JavaScript] 'Error: \n stack: _callFunction@http://localhost:8081/index.ios.bundle:21863:53\nhttp://localhost:8081/index.ios.bundle:21896:25\nforEach@[native code]\nhttp://localhost:8081/index.ios.bundle:21890:14\nperform@http://localhost:8081/index.ios.bundle:5992:18\nbatchedUpdates@http://localhost:8081/index.ios.bundle:16689:20\nbatchedUpdates@http://localhost:8081/index.ios.bundle:4576:32\nhttp://localhost:8081/index.ios.bundle:21889:28\napplyWithErrorReporter@http://localhost:8081/index.ios.bundle:21641:17\nguardReturn@http://localhost:8081/index.ios.bundle:21663:23\nprocessBatch@http://localhost:8081/index.ios.bundle:21888:19\n[native code]\n line: 21863\n message: undefined is not an object (evaluating \'this._localModuleNameToMethodIDToName[moduleName]\')', { [TypeError: undefined is not an object (evaluating 'this._localModuleNameToMethodIDToName[moduleName]')]
  line: 21863,
  column: 53,
  sourceURL: 'http://localhost:8081/index.ios.bundle' }
2015-09-21 21:46:07.060 [error][tid:com.facebook.React.JavaScript] 'Error: \n stack: _callFunction@http://localhost:8081/index.ios.bundle:21863:53\nhttp://localhost:8081/index.ios.bundle:21896:25\nforEach@[native code]\nhttp://localhost:8081/index.ios.bundle:21890:14\nperform@http://localhost:8081/index.ios.bundle:5992:18\nbatchedUpdates@http://localhost:8081/index.ios.bundle:16689:20\nbatchedUpdates@http://localhost:8081/index.ios.bundle:4576:32\nhttp://localhost:8081/index.ios.bundle:21889:28\napplyWithErrorReporter@http://localhost:8081/index.ios.bundle:21641:17\nguardReturn@http://localhost:8081/index.ios.bundle:21663:23\nprocessBatch@http://localhost:8081/index.ios.bundle:21888:19\n[native code]\n line: 21863\n message: undefined is not an object (evaluating \'this._localModuleNameToMethodIDToName[moduleName]\')', { [TypeError: undefined is not an object (evaluating 'this._localModuleNameToMethodIDToName[moduleName]')]
  line: 21863,
  column: 53,
  sourceURL: 'http://localhost:8081/index.ios.bundle' }

undefined is not an object (evaluating 'i.array')

i am using sample code your application popup menu getting this errors and crash the app in x code:

2017-02-14 11:05:57.154 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'i.array')
2017-02-14 11:05:57.157 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'i.array')
2017-02-14 11:05:57.160 [error][tid:com.facebook.react.JavaScript] Application Roger has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
2017-02-14 11:05:57.165 Roger[2382:28654] *** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'i.array')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'i.array'), stack:
@523:308
n@2:545
i@2:336
t@2:198
@505:447
n@2:545
i@2:336
t@2:198
@455:567
n@2:545
i@2:336
t@2:198
@371:633
n@2:545
i@2:336
t@2:198
@366:275
n@2:545
i@2:336
t@2:198
@12:187
n@2:545
i@2:266
t@2:198
global code@679:9
'
*** First throw call stack:
(
0 CoreFoundation 0x0000000108fa6d85 _exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010847cdeb objc_exception_throw + 48
2 CoreFoundation 0x0000000108fa6cbd +[NSException raise:format:] + 205
3 Roger 0x000000010631ce94 RCTFatal + 393
4 Roger 0x0000000106315d3e -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 515
5 CoreFoundation 0x0000000108e8f5cc invoking
+ 140
6 CoreFoundation 0x0000000108e8f41e -[NSInvocation invoke] + 286
7 CoreFoundation 0x0000000108f1ed26 -[NSInvocation invokeWithTarget:] + 54
8 Roger 0x0000000106319870 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 533
9 Roger 0x00000001063407d1 -[RCTBatchedBridge callNativeModule:method:params:] + 220
10 Roger 0x00000001063400b4 __33-[RCTBatchedBridge handleBuffer:]_block_invoke.357 + 447
11 libdispatch.dylib 0x000000010c203d9d _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x000000010c2243eb _dispatch_client_callout + 8
13 libdispatch.dylib 0x000000010c20a82c _dispatch_queue_drain + 2215
14 libdispatch.dylib 0x000000010c209d4d _dispatch_queue_invoke + 601
15 libdispatch.dylib 0x000000010c2243eb _dispatch_client_callout + 8
16 libdispatch.dylib 0x000000010c20cb2f _dispatch_root_queue_drain + 1829
17 libdispatch.dylib 0x000000010c20c405 _dispatch_worker_thread3 + 111
18 libsystem_pthread.dylib 0x000000010c5784de _pthread_wqthread + 1129
19 libsystem_pthread.dylib 0x000000010c576341 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Not working in 0.20

It is not working in my 0.20 installation and I can't seem to figure out why. Have you guys tested it in the latest version?

It is not a problem with naming collisions, it just wont show up when setting the isVisible prop.

This lib breaks the build in RN 0.14.0

On package start you will see this error and it does not run the server because of it:

[10:37:29 AM] <START> request:/index.android.map?platform=android
Error: Naming collision detected: 
/Users/me/JAKT/crashr_react_native/node_modules/react-native-list-popover/node_modules/react-native/packager/react-packager/src/DependencyResolver/haste/polyfills/polyfills.js 

collides with /Users/me/app/node_modules/react-native/packager/react-packager/src/DependencyResolver/polyfills/polyfills.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.