Skip to content

[regression/8.0.0] Entry bug—height grows on every input event #18092

@aleksandervalle

Description

@aleksandervalle

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

  1. Clone repo https://github.com/aleksandervalle/maui-entry-bug-repro
  2. Run project on an Android emulator
  3. 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

Metadata

Metadata

Assignees

Labels

area-controls-entryEntryarea-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenteri/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions