Skip to content
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

Touching a link share url should select the whole field #22344

Closed
wants to merge 2 commits into from

Conversation

rullzer
Copy link
Contributor

@rullzer rullzer commented Feb 12, 2016

Fixes #22336

We did not have a touchstart event anymore. Added back now.
Tested on Android and that event is emitted.

@oparoz please verify it works on IOS as well.

@rullzer rullzer added this to the 9.0-current milestone Feb 12, 2016
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @blizzz and @PVince81 to be potential reviewers

@@ -81,6 +81,7 @@
'keyup input.linkPassText': 'onPasswordKeyUp',
'click .linkCheckbox': 'onLinkCheckBoxChange',
'click .linkText': 'onLinkTextClick',
'touchstart .linkText': 'onLinkTextClick',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah! so we already had the click but it wanted a touch event... nice one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well I think that is it. Since it is the difference between the webdav link and the linkshare link. But chrome on android is happy with both.

The way I tested it is by disabling the click on the linkText and then it still worked :P

So lets see if IOS is happy as well :P

@oparoz
Copy link
Contributor

oparoz commented Feb 12, 2016

Unfortunately, it still doesn't work on iOS :(. When tapping, the cursor jumps to the end of the field, but it's still impossible to select the whole URL.

@rullzer
Copy link
Contributor Author

rullzer commented Feb 12, 2016

@oparoz can you try again?

@oparoz
Copy link
Contributor

oparoz commented Feb 12, 2016

OK, so now, the whole link gets selected, but it's impossible to get the menu to copy that selection.
Such a strange problem :S

@PVince81
Copy link
Contributor

@oparoz I guess you probably have the same problem with the Webdav URL then, the one in the navigation bar of the files app, at the bottom (cog icon) ?

@oparoz
Copy link
Contributor

oparoz commented Feb 12, 2016

@PVince81 - Indeed. Tapping on it brings the handles, which flash and disappear and trying to select the URL is impossible.

@rullzer
Copy link
Contributor Author

rullzer commented Feb 12, 2016

mmm then I'm out of idea's... especially since I can't test locally ;)

@rullzer
Copy link
Contributor Author

rullzer commented Feb 12, 2016

@owncloud/ios-developers maybe one of you has an idea?

@oparoz
Copy link
Contributor

oparoz commented Feb 12, 2016

Using textarea instead of input worked for me...

@MorrisJobke
Copy link
Contributor

@LukasReschke @georgehrke @raghunayyar iOS users test this please :)

@rullzer
Copy link
Contributor Author

rullzer commented Feb 13, 2016

I'm closing this as I have no way to verify... somebody with a mobile IOS device feel free to reopen and take over...

@lock
Copy link

lock bot commented Aug 7, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It's impossible to copy the public link from the share dialogue on iOS
6 participants