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

Handle iOS keyboard dismiss #307

Open
hannesstruss opened this issue Jan 20, 2017 · 2 comments
Open

Handle iOS keyboard dismiss #307

hannesstruss opened this issue Jan 20, 2017 · 2 comments

Comments

@hannesstruss
Copy link

Original issue: https://github.com/the-grid/iOS/issues/604

@forresto do you get iOS keyboard events? Would be cool if we could trigger URL sharing on keyboard dismiss. Also, in the first place, do you think it would make sense to do so?

cc @Eke

@forresto
Copy link
Contributor

The way that it is implemented isn't an event listener, more like middleware (?) on the ProseMirror action flow:

this.testPrevUrl(state)

It could be done though. Need to do something similar with Android composition events and the ¶ empty block style plugin.

Have you considered a menu item & native input to paste a URL? I should add that.

@hannesstruss
Copy link
Author

Have you considered a menu item & native input to paste a URL? I should add that.

Could do – but @webbjordy has a point, behavior should be similar to what people are used from webapp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants