Comments (5)
I debugged this problem once. If I remember correctly, it was caused by
reordering of keydown and keypress events (or something like that) that
only happens in IE. That time I switched to use of :default-value too. I’ll
look if it can be solved in more reliable way
On Wed, Jul 13, 2016 at 8:40 PM Dimitri Fedorov [email protected]
wrote:
Reproduced on IE11, Win8.
http://tonsky.me/rum/ - when fast typing in input field (like "Color"),
some symbols will be missing. There's no such problem with pure react form
http://ruanyf.github.io/react-demos/demo09/. Replacing :value with
:defaultValue fixes the problem, so it seems the problem is with
controlled inputs only.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#86, or mute the thread
https://github.com/notifications/unsubscribe/AARabF8ZMOc4oIDXGrIPsKLm7og6aYhBks5qVPjxgaJpZM4JLfa7
.
from rum.
@tonsky Weird enough, pure react components work okay. Maybe they're handling this as special case, but I doubt it.
from rum.
This is because Rum (same as Om, Reagent and Quiscent) has batched
rendering on requestAnimationFrame, but doesn’t play well with inputs (you
can’t change value of input later, you have to do it in the onkeydown
handler). That’s why sablono wraps inputs to work around that problem
https://github.com/r0man/sablono/blob/master/src/sablono/interpreter.cljc#L14-L48.
Unfortunately, that causes typing issues in IE. Maybe something can be done
about it, it requires further investigation
On Wed, Jul 13, 2016 at 11:32 PM Dimitri Fedorov [email protected]
wrote:
@tonsky https://github.com/tonsky Weird enough, pure react components
work okay. Maybe they're handling this as special case, but I doubt it.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
#86 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AARabKeybUQbamnBIUS-I3dp51EEq3-Zks5qVSEtgaJpZM4JLfa7
.
from rum.
@tonsky I've created identical ticket for Reagent (as they experience the same problem), it seems they've fixed it: reagent-project/reagent#253
from rum.
Just pushed 0.10.5 with sablono 0.7.3 that fixed that problem
from rum.
Related Issues (20)
- rum/fragment with React components HOT 2
- optimizations :advanced (shadow-cljs) failing on simple :form :input
- defc error with shadow-cljs. Makes Rum unusable for me... :( HOT 22
- daiquiri: fragment? fails on vectors HOT 13
- Question about rendering performance when updating state asynchronously HOT 9
- should-update error
- Big performance regression between 0.11.5 and 0.12.3 HOT 9
- Server/client difference when rendering nil HOT 2
- require-lazy macro unnecessarily prescriptive about namespace/module structure HOT 1
- Error when use `rum/local` and `rum/use-callback` together HOT 2
- Hydration not fully compatible with React 18 HOT 4
- bind-context produces unfixable infer warnings HOT 3
- `with-key` and `with-ref` Removing children? HOT 2
- ClojureScript >=1.11.51 seems to break Rum HOT 4
- ClojureScript >=1.11.51 seems to break Rum HOT 3
- How to use daiquiri.core/html ? HOT 9
- How can I use npm based react library I rum ssr mode HOT 4
- Live Examples Missing HOT 1
- Hulunote(a tool for networked thought) use the rum😄
- Interpretation warnings print var symbol instead of the value
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 rum.