-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor for web app keeps showing "paste" dialog everytime in a read only content page from IOS web browser #1567
Comments
Hello. This issue has been happening to me for a few days, and I've tried every method to solve it without success. In the simplest use case, using this editor on the web on iOS, this problem exists. As far as I understand, this occurs when tapping on any element of the editor, and typing also prevents the user from continuing to type. I created a blank page with the editor, and no specific settings have been applied. Please investigate and resolve this issue as soon as possible. Flutter Quill version : 8.6.4 import 'package:flutter/material.dart';
import 'package:flutter_quill/flutter_quill.dart';
class Test extends StatefulWidget {
const Test({super.key});
@override
State<Test> createState() => _TestState();
}
class _TestState extends State<Test> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: QuillProvider(
configurations: QuillConfigurations(
controller: QuillController.basic(),
sharedConfigurations: const QuillSharedConfigurations(),
),
child: Column(
children: [
const QuillToolbar(),
Expanded(
child: QuillEditor.basic(
configurations: QuillEditorConfigurations(
readOnly: false,
),
),
)
],
),
));
}
}
|
@Salvador-dev Hi! We have the same problem with our app. The Paste dialog does not allow the user to continue using the app and the editor is in "readonly" mode. Flutter version Flutter Quill version |
Good day, the same thing happens to me in my web application. In the case of android I see a dialog that wants to see the text and images that have been copied to the clipboard and in the case of IOS as soon as I touch the screen the paste button appears even when I am in read only (bad experience for the user who is only going to read and says Paste) I ask you please can help me with this Flutter Quill version : 8.6.4 |
@freshtechtips Hi, thanks for looking at this issue. I've noticed that it doesnt happen on simulator as i've tested on a IOS 15, 16 and 17 simulator and is working fine (no "Paste" dialog shows up). But i also tested on IOS 15, 16 and 17 real devices and "Paste" dialog shows up. |
Thanks for the info That's might be the problem We are checking if the iOS is a simulator in some places |
Exactly in the simulator you don't see the "Paste" but on Apple devices it does appear and on Android devices it asks for permission only the first time you enter I was reading the documentation and I saw |
On Android, can you tell me which permissions it asks for? |
@singerdmx @freshtechtips |
Hi, I will try to reproduce it again and debug it today |
Still can't reproduce the issue |
We are experiencing the same issue. Try running the project with a web target locally on your mac, once chrome launches open Safari and go to your localhost address with the project and you should be able to reproduce. The issue does not show up in Chrome. |
@ellet0 or @singerdmx @freshtechtips were you able to reproduce? this is critical for us as well. It's fairly consistent if you run a web build and then point safari to your local server address.. Thanks! |
My apologies but until now I'm unable to reproduce the bug |
Great news everyone @ellet0 @singerdmx I was able to recreate the issue I ran this gist in Chrome and then loaded the localhost page in Safari (I haven't tested on iOS but I'm sure that will recreate it as well) The bug occurs when you hide the editor and then show it again. Click Hide Quill then Show Quill to recreate: The workaround is to use the Offstage widget: However we would still love for the bug to be addressed; this would mean rendering a lot of content to get around it. Thanks! |
My apologies, does the bug happened on all platforms or just iOS on web browser? |
Correct. I have tested on Android and MacOS, the issue is not there. It is just iOS and web browser (safari). |
Can't test iOS apps on real iPhone for now but I will try |
I am seeing this with Safari web on desktop. Beginning with the latest release of Safari 17.2.1 that comes with MacOS 14.2.1. I'm using flutter quill 9.1.1 - I see the same paste menu issue with 8.6.4 |
I see this error on Safari on a Mac desktop, too. Safari version 16.5.2 no issues with Chrome on same Mac. |
I tried this solution but does not work, when Editor is visible it still is stuck in Safari ;( |
I can test it on real iOS now, but I need detailed steps to reproduce the bug because I still can't reproduce |
How about this example ? https://gist.github.com/andrewmlevy/527950deb95d3aedc0755bbf10f64019 |
Is there any progress on this issue? This is quite blocking for our web app. |
I'm still facing the same issue as above, even on Safari on a MacBook. Would love to help in any way :) |
Same, this is still causing issues for us |
Same - luckily my client primarily uses Edge per company policy but any Safari users are seeing this including myself on a physical MacBook. |
Hi, let me know if you still facing the issue, it has been fixed by @mtallenca If no one is facing the issue then we should get ready to close the issue |
It looks to be fixed, thanks!!! |
Yea ! fixed, thanks ! |
Is there an existing issue for this?
Flutter Quill version
8.6.4
Other Flutter Quill packages versions
No response
Steps to reproduce
i'm trying to use the widget in a flutter web app but this issue doesn't have solution since 2022 where another person have the same problem
Expected results
Don't show the dialog or only one time on the first time in the app.
Actual results
Showed the dialog every time.
Code sample
Screenshots or Video
Logs
Logs
[Paste your logs here]
The text was updated successfully, but these errors were encountered: