cronapp-lib-js 2.9.6-SP.5 → 2.9.6-SP.6

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.
@@ -30,6 +30,7 @@
30
30
  //FIX_029 - CRONAPP-5473 Erro no componente Caixa de checagem
31
31
  //FIX_030 - CRONAPP-6933 Caixa de Seleção dinâmica trava e recarrega em loop quando são acessado pelas tecla Tab+seta para baixo. Componente não fica em foco quando acessado com a tecla Tab
32
32
  //FIX_031 - CRONAPP-7237 Problemas ao usar a coluna "checkbox" na Grade
33
+ //FIX_032 - CRONAPP-10755 Caixa de seleção permanece aberta sobrepondo outros componentes ao mover o scroll para baixo
33
34
 
34
35
  /**
35
36
  * Kendo UI v2019.1.220 (http://www.telerik.com/kendo-ui)
@@ -22936,6 +22937,16 @@
22936
22937
  that.wrapper.css({ overflow: VISIBLE });
22937
22938
  that._activated = true;
22938
22939
  that._trigger(ACTIVATE);
22940
+ //BEGIN FIX_032
22941
+ //NEW FIX_032
22942
+ if (that.options && that.options.anchor && that.options.anchor.hasClass('cronDynamicSelect')) {
22943
+ let $mainView = $('[ui-view]');
22944
+ if ($mainView.length) {
22945
+ that._mainView = $mainView[$mainView.length - 1];
22946
+ that._mainView.addEventListener("scroll", that._makeResize);
22947
+ }
22948
+ }
22949
+ //END FIX
22939
22950
  }
22940
22951
  });
22941
22952
  extend(options.animation.close, {
@@ -22960,6 +22971,13 @@
22960
22971
  if (options.toggleTarget) {
22961
22972
  $(options.toggleTarget).on(options.toggleEvent + NS, $.proxy(that.toggle, that));
22962
22973
  }
22974
+ //BEGIN FIX_032
22975
+ //NEW FIX_032
22976
+ that._makeResize = function (e) {
22977
+ that._resize(e);
22978
+ that._mainView.removeEventListener("scroll", that._makeResize);
22979
+ };
22980
+ //END FIX
22963
22981
  },
22964
22982
  events: [
22965
22983
  OPEN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cronapp-lib-js",
3
- "version": "2.9.6-SP.5",
3
+ "version": "2.9.6-SP.6",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "index.js",
6
6
  "scripts": {