@ajuarezso/sui-design-system 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9785,8 +9785,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
9785
9785
  * el `<input>`. Sin subir por los ancestros, tocar el borde de otro campo se
9786
9786
  * leía como tocar el vacío.
9787
9787
  *
9788
- * `readonly` no cuenta —no abre teclado— pero un `disabled` tampoco recibe el
9789
- * evento, así que no hace falta filtrarlo.
9788
+ * `readonly` no cuenta —no abre teclado— y un `disabled` ni siquiera recibe el
9789
+ * evento. Los desplegables (`<select>`, `sui-select`) tampoco entran: ahí bajar
9790
+ * el teclado es lo correcto, porque si no tapa la lista que se acaba de abrir.
9790
9791
  */
9791
9792
  function recibeTexto(target) {
9792
9793
  let el = target instanceof HTMLElement
@@ -9794,7 +9795,7 @@ function recibeTexto(target) {
9794
9795
  : target.parentElement;
9795
9796
  while (el) {
9796
9797
  const tag = el.tagName;
9797
- if (tag === 'TEXTAREA' || tag === 'SELECT')
9798
+ if (tag === 'TEXTAREA')
9798
9799
  return true;
9799
9800
  if (tag === 'INPUT' && !el.readOnly)
9800
9801
  return true;