CommunityToolkit/Maui.Markup

[Bug] Pasting into text entry does not work on iOS

ss-proc opened this issue · 7 comments

Description

Hi, I'm a Maui / markup newbie and stumbled into this problem. In the settings, copy and pasting into Text entry field doesn't work.

Stack Trace

None. UI bug

Link to Reproduction Sample

https://github.com/CommunityToolkit/Maui.Markup/tree/main/samples

Steps to Reproduce

  1. Run the sample app
  2. Go to settings
  3. Copy paste a number into the text entry

Expected Behavior

Pasted value should show-up

Actual Behavior

Paste does not work. But works in other app like Messages. So it looks like copy > saves to device clipboard but paste doesn't work in the Maui app. But paste works in other iOS apps.

Basic Information

❯ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.400
 Commit:    7771abd614

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  12.5
 OS Platform: Darwin
 RID:         osx.12-arm64
 Base Path:   /usr/local/share/dotnet/sdk/6.0.400/

global.json file:
  Not found

Host:
  Version:      6.0.8
  Architecture: arm64
  Commit:       55fb7ef977

.NET SDKs installed:
  6.0.400 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Workaround

None that I know of

Reproduction imagery

Screenshot.000396.mp4

@ss-proc have you tried this functionality in a new .NET MAUI project? I would be surprised if there was anything this toolkit is doing to cause the issue.

@bijington I have not tried with default template because I am new to MAUI and I don't understand xaml at all. That is why I am trying to learn with pure C# markup.

Hi @bijington @brminnick To re-create this issue in the maui repo https://github.com/dotnet/maui/issues?q=is%3Aissue+is%3Aopen do I need to create this with xaml or can I use maui.markup?

Hi @bijington @brminnick To re-create this issue in the maui repo https://github.com/dotnet/maui/issues?q=is%3Aissue+is%3Aopen do I need to create this with xaml or can I use maui.markup?

You don't need to use XAML however I would advise against using Markup. You can build the sample using just C#

Hi @ss-proc. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

We haven't received a reproduction sample from you. The issue is closed.