Bug #2276
RCP: X.X, words not focused in editions
Status: | New | Start date: | 04/19/2017 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Import | Spent time: | - | ||
Target version: | TXM 0.7.9 |
Description
For some Windows and Internet Explorer, words focus does not work.
Currently the Element.scrollIntoViewIfNeeded function used is not supported by all browsers: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded
Solution 1¶
If Element.prototype.scrollIntoViewIfNeeded does not exist, implements it with a custom function.
Solution 2¶
If Element.prototype.scrollIntoViewIfNeeded does not exist, use Element.scrollIntoView
note: firefox uses element.scrollIntoView({behavior: "instant", block: "end", inline: "nearest"});
History
#1 Updated by Matthieu Decorde about 3 years ago
- Target version changed from TXM 0.7.8 to TXM 0.7.9
#2 Updated by Matthieu Decorde about 3 years ago
- % Done changed from 40 to 80