WebReflection / hyperHTML-Element

An extensible class to define hyperHTML based Custom Elements.
ISC License
202 stars 25 forks source link

Example page: Cursor moves to the end when user starts typing #1

Closed sourcegr closed 7 years ago

sourcegr commented 7 years ago

Hello there,

At the example page if you put the cursor inside the text box - not at the end but between two characters - and you start typing, the cursor moves to the end.

I believe this is something nobody wants to happen. I understand that it may not actually be an issue in hyperHTML-Element - could be poor implementation or a bug in HyperHTML, I don't really have time to look into it right now - but I just thought I should report it.

(for the record, its Chrome 59.0.3071.115 on MacOSX Cheers

WebReflection commented 7 years ago

The test page was using 0.17.2 and the issue was fixed in 0.17.3.

I've updated the test page with latest 0.17.4 and everything should work.

WebReflection commented 7 years ago

Btw, yes, it was hyperHTML and not HyperHTMLElement gotcha and only on Safari, not sure why your Chrome had same issue, yet it's fixed anyway.

sourcegr commented 7 years ago

I can confirm it is fixed. I also remember this was reported as an issue in hyperHTML ;)

Thanks for your great work!