Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
0
Found in
2019.2.0a12
2019.2.0b1
2019.3.0a1
Issue ID
1155744
Regression
Yes
[UIElements] Overflow.Hidden has no effect after updating the parent element's border radius
How to reproduce:
1. Open the attached project ("BorderRadiusClippingBug.zip")
2. Go to "Bug" -> "Open Window"
3. Observe the red element which is a parent of the blue element and has its overflow set to hidden
4. Click "Toggle Radius"
5. Observe the blue element
Expected result: the red element gets rounded edges and the overflow areas of the blue element that are outside of the red square are clipped
Actual result: the blue element does not get clipped at all when the parent element is updated.
NOTE: If the border radius is specified when elements are created, clipping occurs correctly
Reproduced in: 2019.3.0a3, 2019.2.0b3, 2019.2.0a12
Couldn't test with: 2019.2.0a11, 2019.1.4f1, 2018.4.1f1, 2017.4.27f1 (the editor script breaks in these versions)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
Add comment