Border updates stroke too frequently #24123
Labels
area-controls-border
Border
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
fixed-in-8.0.90
fixed-in-9.0.0-rc.1.24453.9
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
platform/windows 🪟
potential-regression
This issue described a possible regression on a currently supported version., verification pending
t/bug
Something isn't working
Milestone
Description
The border control will rebuild the stroke shape when any property changes on the
StrokeShape
object, including:This causes a significant performance impact when items are added to a list.
This is caused by the following in
Controls\src\Core\Border\Border.cs
:These property changes should not trigger a rebuild of the stroke shape since the
Border.OnPropertyChanged
event only wants to be notified of the following:Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.80 SR8
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: