Ossi Hanhinen
Ossi Hanhinen
Hi! Nice to hear you like what I am doing! 😄 Minor thing, there's an N missing at the end of my last name in the title. All the best!
I renamed `ohanhi/keyboard-extra` to `ohanhi/keyboard`
@staltz In case you missed it: https://github.com/cyclejs/cycle-react-native/pull/6
Yes, this is caused by the browser not sending `keyup` events in those occasions. I guess I'll have to think about this some more.
There seems to be no real way to solve this with the approach I've taken in keyboard-extra, since the keyup event simply doesn't fire. :disappointed:
Reopening just to show folks the issue is still there.
Yeah, that we could do. That would only affect the `isPressed`/`pressedDown`, and not the subscriptions etc. But I guess it'd be better than nothing.
@manuscrypt and @thebritican: As a matter of fact, you should be able to do this already simply by replacing the Keyboard.Extra State with `initialState` in your update.
Thanks for the thorough issue report and concrete usage example, Greg! I am just about to leave for a vacation, but I will come back to this.
@manuscrypt and @thebritican, a workaround has now been published with 2.1.0: [`forceRelease`](http://package.elm-lang.org/packages/ohanhi/keyboard-extra/2.1.0/Keyboard-Extra#forceRelease)