Comments (6)
Interesting .... I thought our extremely solid feature detection would handle anything a new browser could throw at it.
One of us will look into it shortly.
from syn.
That's great, thanks for the fast response!
from syn.
I fixed this in the latest syn. However, I'm not super happy with it. Essentially FF only writes chars if the element is focused. So, on keypress, I focus on the element.
A much better solution would be to implement a 'focus' helper in Syn that would record the currently focused element. This would only focus if the current element wasn't already focused.
Syn already has an idea of activeElement. This needs to be woven into this fix.
But, this should work for you.
from syn.
Ah, I was wondering what had changed with FF4.
Thanks for fixing this, works like a charm!
from syn.
var el = document.createElement('input');
Syn.click(el).key('j');
this fails with your latest codez
from syn.
the element isn't in the page? This isn't something Syn will support. Also, all qUnit tests pass in FF4, many of them write to elements.
from syn.
Related Issues (20)
- Version inconsistency? HOT 2
- Uncaught error when run in browser extension
- An in-range update of steal is breaking the build 🚨 HOT 2
- An in-range update of jshint is breaking the build 🚨 HOT 2
- An in-range update of steal-tools is breaking the build 🚨 HOT 4
- Add the “key” property to events HOT 1
- inconsistent syn downloads from github
- Syn 1.0
- Syn 1.0 - ESLint
- Syn 1.0 - Publish 1.0.0-pre.0 HOT 1
- Syn 1.0 - CI passing
- Syn 1.0 - Make sure it works in all browsers again HOT 1
- Syn 1.0 - Mocha & webpack setup
- Syn 1.0 - Jest setup
- Syn 1.0 - Finish API documentation
- Syn 1.0 - ESM build
- keyCode is not mapped correctly when capital character is given
- Syn::focus() dispatch some unwanted events, it closes popup HOT 1
- `syn.type()` with `[escape]` string does press escape, but also appends `escape` text HOT 1
- `syn.type()` with `[end]` does not support `input` tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syn.