TextInput not visible (shows up in landscape)

Using the code below I removed styling from the <TextInput> element. It results in the text (maybe the whole element?) not showing. Oddly enough, the element is visible when I turn my iOS device to landscape.

If I then give it focus, and turn it back to portrait again, it shows up. AND the following is output to the monitor:

LOG: SoftCapture can only be done on rooted enabled node`

<TextInput
  ux:InheritStyle="false"
  HitTestMode="LocalBoundsAndChildren"
  Focus.IsFocusable="true"
  Focus.Delegate="_textInputCore"
  Alignment="CenterRight"
  Margin="0,0,15,0"
  Width="70%"
  TextAlignment="Right"
  Font="Book"
  FontSize="15"
  TextColor="#aaa"
  CaretColor="#3b28ea">

  <PlainTextEdit ux:Name="_textInputCore" />

  <WhilePressed>
      <GiveFocus Target="_textInputCore" />
  </WhilePressed>
</TextInput>

Hi,

In the next version (likely 0.9.3), a new control named TextEdit will be included that is a plain TextInput without styling that you can use instead. Let us know if the problem persists after that.

Hey again. Still in 0.9.5 this does not work (with either TextExit or TextInput). What to do?

Hi!

Hmm, can you share your code where it does not work? :slight_smile: Using a plain <TextEdit /> should work in 0.9.5

I’ve isolated it to this: <TextEdit Alignment="CenterRight" TextAlignment="Right" Value="{observableVar}" />