Skip to content
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

Position: aboslute won't make button clickable #1358

Open
darias08 opened this issue Dec 31, 2022 · 0 comments
Open

Position: aboslute won't make button clickable #1358

darias08 opened this issue Dec 31, 2022 · 0 comments

Comments

@darias08
Copy link

Hello,

when I am using nextButton prop to edit the button design. I am having an issue when I am using position: absolute. The problem with this is that when I try to press the button it won't navigate me to next image slide show. I have tried using index: 1 and that still won't work. I am not sure if this is a bug or something I am missing, but please let me know how I can resolve this issue!

Here's a small sample of what I have:

const renderPrevButton = () => (
    <View style={{position: 'absolute', marginLeft: 100}}>
      <FontAwesome
        style={{
          backgroundColor: '#121212',
          paddingLeft: 15,
          paddingTop: 12,
          paddingBottom: 12,
          paddingRight: 17,
          borderRadius: 25,
        }}
        name="chevron-left"
        size={20}
        color={COlORS.blue}
      />
    </View>
  );


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

No branches or pull requests

1 participant