-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
If we use an Entry alongside a RoundRectangle inside a Grid, like so:
<Grid>
<RoundRectangle Fill="Red" />
<Entry x:Name="MyEntry" Text="{Binding MyText}" />
</Grid>
The Entry's height will grow on every input event. See demo gif in reproduction repo.
We have been using RoundRectangle like this instead Border because of bugs in Border (which may have been fixed in RC2).
This is definitely a regression from .NET 7. I'm not sure whether or not this worked on .NET 8 RC1, as we couldn't get our app running on RC1.
Steps to Reproduce
- Clone repo https://github.com/aleksandervalle/maui-entry-bug-repro
- Run project on an Android emulator
- Write in the Entry input field
Link to public reproduction project repository
https://github.com/aleksandervalle/maui-entry-bug-repro
Version with bug
8.0.0-rc.2.9373
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
7.0.304
Affected platforms
Android
Affected platform versions
Android 14, API 34 (not tested on iOS)
Did you find any workaround?
We're exploring whether or not the Border bugs that made us use this RoundRectangle method have been fixed. If so, the workaround for us will be to go back to using Border.
Relevant log output
No response