Skip to content

Commit

Permalink
fix(ld-select): custom popper class
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed Oct 4, 2021
1 parent 63d0e41 commit 936f6d7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ export class LdSelectPopper {
this.shadowHeight = height
}

componentWillLoad() {
this.popperClass && this.el.classList.add(this.popperClass)
}

render() {
return (
<Host
class={this.popperClass && { [this.popperClass]: true }}
style={{ zIndex: this.isPinned ? '2147483647' : '2147483646' }}
>
<Host style={{ zIndex: this.isPinned ? '2147483647' : '2147483646' }}>
<div
class={getClassNames([
'ld-select-popper',
Expand Down

0 comments on commit 936f6d7

Please sign in to comment.