Skip to content

ActionSheetManager is not showing items #13

New issue

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

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

Already on GitHub? Sign in to your account

Open
LucasMonteiro1 opened this issue Apr 3, 2018 · 5 comments
Open

ActionSheetManager is not showing items #13

LucasMonteiro1 opened this issue Apr 3, 2018 · 5 comments
Labels

Comments

@LucasMonteiro1
Copy link

I have a problem with ActionSheetManager when usage like this:

import React, { Component } from 'react';
import { Button } from 'react-native';
import ActionSheetManager, { ActionSheet, ActionSheetItem } from 'react-native-action-sheet-component';

export default class App extends Component {
  render() {
    const options = {
      children: [
        <ActionSheetItem
          key='item-1'
          text="Item 1"
          value="item1"
        />,
        <ActionSheetItem
          key='item-2'
          text="Item 2"
          value="item2"
        />
      ],
    };

    return (
      <Button onPress={() => ActionSheetManager.show(options)} title="Open" />
    );
  }
}
@hasan642
Copy link

same problem

@jacklam718 jacklam718 added the bug label Apr 19, 2018
@fang0rnz
Copy link

Any way to fix this issue?

@LucasMonteiro1
Copy link
Author

@fang0rnz I changed it to another release and it worked

"react-native-action-sheet-component": "0.0.34" 

@aprocom
Copy link

aprocom commented Aug 6, 2018

same problem

@anastely
Copy link

After downgrade i got

Cannot read property 'removeEventListener' of undefined
at ActionSheet.componentWillUnmount

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

No branches or pull requests

6 participants