Skip to content

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

Open
@freeboub

Description

@freeboub

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

Metadata

Metadata

Assignees

Labels

Can reproIt is confirmed we can reproduce the issuePlatform: AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is provided

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions