Bug #2276

RCP: X.X, words not focused in editions

Ajouté par Matthieu Decorde il y a presque 8 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:19/04/2017
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Import Temps passé: -
Version cible: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"});

Historique

#1 Mis à jour par Matthieu Decorde il y a presque 8 ans

  • Version cible changé de TXM 0.7.8 à TXM 0.7.9

#2 Mis à jour par Matthieu Decorde il y a presque 8 ans

  • % réalisé changé de 40 à 80

#3 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed
  • % réalisé changé de 80 à 100

Formats disponibles : Atom PDF