Skip to content

Pressing tab for current view #134

Description

@i8wu

Pressing tab for current view sometimes re-renders the view. This is an issue with react-native-tabs/react-native-router-flux, will see if we can get a PR merged into the actual node_module before making forking/hacking a fix into the app.

Needs a fix to node_modules/react-native-tabs/index.js

onSelect(el){
        if (el.props.name === this.props.selected) {
            // do nothing
        }
        else if (el.props.onSelect) {
            el.props.onSelect(el);
        } else if (this.props.onSelect) {
            this.props.onSelect(el);
        }
    }

aksonov/react-native-tabs#51

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions