jsl-ui 10.4.2 → 10.4.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.
@@ -124,7 +124,7 @@ let autoComplete = (function () {
124
124
  };
125
125
  addEvent(window, 'resize', that.updateSC);
126
126
  window.addEventListener('scroll', that.updateSC, true);
127
- (o.appendTo || that.closest('.jsl-dialog') || that.closest('dialog[open]') || document.body).appendChild(that.sc);
127
+ (o.appendTo || that.closest('.jsl-dialog') || document.body).appendChild(that.sc);
128
128
  live('autocomplete-suggestion', 'mouseleave', function (e) {
129
129
  const sel = that.sc.querySelector('.autocomplete-suggestion.selected');
130
130
  if (sel) {
@@ -32,7 +32,7 @@ export default function BaseMode(input, emit, opts) {
32
32
  adjustPosition: noop,
33
33
  containerHTML: '<div class="dp"></div>',
34
34
  attachToDom: function () {
35
- (opts.appendTo || input.closest('.jsl-dialog') || input.closest('dialog[open]') || document.body).appendChild(dp.el);
35
+ (opts.appendTo || input.closest('.jsl-dialog') || document.body).appendChild(dp.el);
36
36
  },
37
37
  updateInput: function (selectedDate) {
38
38
  var e = new CustomEvent('change', { bubbles: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsl-ui",
3
- "version": "10.4.2",
3
+ "version": "10.4.3",
4
4
  "main": "lib/index.js",
5
5
  "description": "javascript UI library",
6
6
  "files": [