Skip to content

Commit

Permalink
Keep borderBottomWidth same before and after pressed (#13396)
Browse files Browse the repository at this point in the history
* Keep borderBottomWidth same before and after pressed

* Change files

* Remove borderbottomwidth override when button pressed

* Snapshot update for e2e-test-app-fabric tests
  • Loading branch information
sharath2727 authored Jun 28, 2024
1 parent c4d8e76 commit 6819827
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Keep borderBottomWidth same before and after pressed",
"packageName": "react-native-windows",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ exports[`TextInput Tests Text have cursorColor 1`] = `
"Brush Type": "ColorBrush",
"Color": "rgba(0, 128, 0, 255)",
},
"Offset": "83, 133, 0",
"Offset": "83, 5, 0",
"Opacity": 0,
"Size": "1, 19",
"Visual Type": "SpriteVisual",
Expand Down Expand Up @@ -1583,7 +1583,7 @@ exports[`TextInput Tests TextInputs can clear on submit 1`] = `
"Brush Type": "ColorBrush",
"Color": "rgba(0, 0, 0, 255)",
},
"Offset": "5, 133, 0",
"Offset": "5, 5, 0",
"Opacity": 0,
"Size": "1, 19",
"Visual Type": "SpriteVisual",
Expand Down
1 change: 0 additions & 1 deletion vnext/src-win/Libraries/Components/Button.windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ const styles = StyleSheet.create({
},
buttonPressed: {
borderColor: PlatformColor('ButtonBorderBrushPressed'),
borderBottomWidth: 1,
},
// Windows]
});
Expand Down

0 comments on commit 6819827

Please sign in to comment.