WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit edbe392

Browse files
committed
Remove the unnecessary clipping changes
1 parent 9a5ad54 commit edbe392

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/PreparedLayoutTextView.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ internal class PreparedLayoutTextView(context: Context) : ViewGroup(context), Re
8484
initView()
8585
// ViewGroup by default says only its children will draw
8686
setWillNotDraw(false)
87-
// Allow drawing outside bounds for shadows
88-
setClipChildren(false)
89-
setClipToPadding(false)
9087
}
9188

9289
private fun initView() {

0 commit comments

Comments
 (0)