Hacker News new | ask | show | jobs
by kringo 1504 days ago
I still can't find, in the docs, there is an open bug/feature request to NATIVELY copy/paste from web?

Do they support copy / paste on the web app without using a special widget?

1 comments

I'm not aware of any planned/possible way to do copy exactly as you would an HTML page with HTML tags, but there's a big project to make selection and copying much simpler and more powerful (design doc [1], in progress PR[2]).

With that PR it should be easy to just add one SelectionArea to the root of your app in order to make everything selectable, like it would be on a web page. You don't need SelectableText widgets. There's an example of this in the PR [3]. No built-in support for multimedia or rich text copying yet though.

Text input fields should already do copy/paste pretty much the same as native.

[1] http://flutter.dev/go/global-selection [2] https://github.com/flutter/flutter/pull/95226 [3] https://github.com/flutter/flutter/pull/95226/files#diff-a90...

Great initiative. Wondering why can't Google make this a priority and make it fast instead of focus on desktop and other device support.

Do they know that a ton of devs are not jumping in because of this one simple issue and sticking to other frameworks?

Kind of crazy all this effort is being put into just recreating something that has been around, and works fine, for 20 years. What a waste of resources.