Hi Andrew

> Now in IE 11, the whole edit field now clears if you change views and also 
> randomly. Something is wrong. It was working better. What changed?

Nothing has changed in the code that updates the textarea. I think the problem 
that we’re seeing in IE11 with the textarea display not being updated is some 
kind of random bug.

I’ve spent a few more hours investigating the problems with IE11 and once again 
I’m out of ideas; I’ve been repeatedly finding the same outdated information 
via searching Google, StackOverflow etc.

The code in question is this part of framed.js:

                // Attempt to use a TextEvent to modify the value of the control
                var textEvent = 
this.domNode.ownerDocument.createEvent("TextEvent");
                if(textEvent.initTextEvent) {
                        textEvent.initTextEvent("textInput", true, true, null, 
operation.replacement, 9, "en-US");
                        this.domNode.focus();
                        
this.domNode.setSelectionRange(operation.cutStart,operation.cutEnd);
                        this.domNode.dispatchEvent(textEvent);
                } else {
                        this.domNode.value = newText;
                }

IE11 has the initTextEvent method, and so calls the first code path. The 
problem is that the value underlying the textarea is updated, but the display 
is not updated to match.

Best wishes

Jeremy.

> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/5b46be97-e9f8-4f99-ba1c-5b5b2ac3cbe1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A0BDD6C3-ACDF-4B73-A9B7-FA519A797F79%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to