Xamarin.Forms
Xamarin.Forms copied to clipboard
[Bug] Misalignment of entry and picker when using RTL on IOS
Description
Misalignment of entry (Text & Placeholder) and picker when using RTL on IOS but works fine on android
Steps to Reproduce
- Create ContentPage with entry and picker
- change FlowDirection of page to RightToLeft
- set entry HorizontalTextAlignment="Start"
- observe the result
Expected Behavior
- Entry Placeholder aligned right (start)
- Entry Text aligned right (start)
- picker aligned right (start)
Actual Behavior
IOS does not support RTL for entry and picker
- Entry Placeholder aligned left (end)
- Entry Text aligned left (end)
- when writing on existing word Text alignment is still left (end) but after clearing entry alignment adjusts
- picker aligned left (end)
Basic Information
- Version with issue: All versions of IOS
- Last known good version: None
- IDE: Visual Studio 2019 Version 16.4.3
- Platform Target Frameworks:
- iOS: all versions
- Android Support Library Version:
- Nuget Packages: Xamarin.Forms version 4.4.0.991640
- Affected Devices: All Iphone
Screenshots
Reproduction Link
https://github.com/amr-moomen/Entry-Text-and-Picker-Bug
Workaround
@pauldipietro Description and Reproduction Link updated
@samhouts @pauldipietro we need fix for this issue asap.... ios RTL
@amr-moomen @mina5500 I have submitted PR with a fix for this bug. If you need an urgent workaround here is the solution with custom renderers Entry-Text-and-Picker-Bug-master.zip
This is not yet fixed,right ? i'm still having the same issue . Any help ?
@Pirate911 Not yet. Should be included in 4.6.0 I have uploaded workaround with custom renderers which you can use for now
@yurkinh thank you for the info , I will check that . I appreciate it .
Was this not fixed? I am having a similar issue with an entry
that has HorizontalTextAlignment = End
.
When user is typing 2 words, the space between the first and second word is not respected.