mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix: fix dropdown hoist position (#844)
This commit is contained in:
@@ -395,7 +395,7 @@ export default class SlDropdown extends LitElement {
|
||||
|
||||
private startPositioner() {
|
||||
this.stopPositioner();
|
||||
this.updatePositioner();
|
||||
requestAnimationFrame(() => this.updatePositioner());
|
||||
this.positionerCleanup = autoUpdate(this.trigger, this.positioner, this.updatePositioner.bind(this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user