Skip to content

[iOS] TextBox with Height set is cut off  #2705

Closed

Description

@jeromelaban

How to reproduce it (as minimally and precisely as possible)

	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>
		<StackPanel x:Name="Root"
					Background="Yellow">
			<TextBox 	 Margin="0,12"
						 Height="25"
						 PlaceholderText="Search"
						 InputScope="Search" />
			<Border Height="2"
					Background="Green" />
		</StackPanel>
		<StackPanel Background="Blue"
					Grid.Column="1">
			<Border 	 Margin="0,12"
						 Height="25"
						 Background="Red" />
			<Border Height="2"
					Background="Green" />
		</StackPanel>
	</Grid>

The TextBox is cut off, seemingly not considering the Margin.

Environment

Nuget Package: 2.1-dev

Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Windows
  • Build tasks
  • Solution Templates

Visual Studio:

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

Activity

  1. added
    kind/regression
    on Feb 28, 2020
  2. self-assigned this
    on Mar 3, 2020
  3. added a commit that references this issue on Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/regression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions