Skip to content

Commit

Permalink
fix: add back document.body.append for the floating bib
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-mota committed Dec 4, 2024
1 parent 4a32169 commit 7bd62f8
Show file tree
Hide file tree
Showing 9 changed files with 1,034 additions and 260 deletions.
208 changes: 168 additions & 40 deletions components/combobox/demo/api.min.js

Large diffs are not rendered by default.

208 changes: 168 additions & 40 deletions components/combobox/demo/index.min.js

Large diffs are not rendered by default.

228 changes: 178 additions & 50 deletions components/datepicker/demo/api.min.js

Large diffs are not rendered by default.

228 changes: 178 additions & 50 deletions components/datepicker/demo/index.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions components/dropdown/demo/api.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,8 @@ class AuroFloatingUI {
this.element.bibSizer = this.element.shadowRoot.querySelector('#bibSizer');
this.element.triggerChevron = this.element.shadowRoot.querySelector('#showStateIcon');

document.body.append(this.element.bib);

this.handleTriggerTabIndex();

this.element.trigger.addEventListener('keydown', (event) => this.handleEvent(event));
Expand Down
2 changes: 2 additions & 0 deletions components/dropdown/demo/index.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -1944,6 +1944,8 @@ class AuroFloatingUI {
this.element.bibSizer = this.element.shadowRoot.querySelector('#bibSizer');
this.element.triggerChevron = this.element.shadowRoot.querySelector('#showStateIcon');

document.body.append(this.element.bib);

this.handleTriggerTabIndex();

this.element.trigger.addEventListener('keydown', (event) => this.handleEvent(event));
Expand Down
2 changes: 2 additions & 0 deletions components/dropdown/src/floatingUI.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ export default class AuroFloatingUI {
this.element.bibSizer = this.element.shadowRoot.querySelector('#bibSizer');
this.element.triggerChevron = this.element.shadowRoot.querySelector('#showStateIcon');

document.body.append(this.element.bib);

this.handleTriggerTabIndex();

this.element.trigger.addEventListener('keydown', (event) => this.handleEvent(event));
Expand Down
208 changes: 168 additions & 40 deletions components/select/demo/api.min.js

Large diffs are not rendered by default.

208 changes: 168 additions & 40 deletions components/select/demo/index.min.js

Large diffs are not rendered by default.

0 comments on commit 7bd62f8

Please sign in to comment.