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

[Pressable] : border*Color & border*Width don't work #3304

Open
freeboub opened this issue Dec 20, 2024 · 1 comment
Open

[Pressable] : border*Color & border*Width don't work #3304

freeboub opened this issue Dec 20, 2024 · 1 comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snack or repo is provided

Comments

@freeboub
Copy link

freeboub commented Dec 20, 2024

Description

The borderColor & borderWidth like : borderBottomColor and borderBottomWidth doesn't work at all.
They doesn't seem to be implement with fabric.

Steps to reproduce

See sample code:

      <Pressable
          style={{borderBottomColor: '#FF0000', borderBottomWidth: 5}}
          onPress={() => console.log('onPress')}
      >
        <Text>'Hello World'</Text>
      </Pressable>

borderBottomWidth => not border is displayed
if I change to borderColor the border is black (borderBottomColor is not handled)

Snack or a link to a repository

https://github.com/freeboub/bug-react-native-gesture-handler-android-pressable-border

Gesture Handler version

2.21.2

React Native version

0.76.2

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo bare workflow

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

None

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Missing repro Repro provided A reproduction with a snack or repo is provided and removed Missing repro labels Dec 20, 2024
@freeboub
Copy link
Author

I have updated the description to fix sample repo link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

No branches or pull requests

1 participant