Skip to content

Commit

Permalink
fix(ld-button): quick-fix anchor button not working in docs-page-nav
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed Dec 5, 2021
1 parent f5601f1 commit 7c1d388
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/liquid/components/ld-button/ld-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class LdButton implements InnerFocusable {
* See [mdn docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href)
* for more information on the `href` attribute.
*/
@Prop() href?: string
@Prop({ reflect: true }) href?: string

/** Justify content. */
@Prop({ mutable: true }) justifyContent?: 'start' | 'end' | 'between'
Expand Down Expand Up @@ -218,6 +218,7 @@ export class LdButton implements InnerFocusable {
'progress',
'size',
])}
href={this.href}
>
<slot />
{hasProgress && (
Expand Down

0 comments on commit 7c1d388

Please sign in to comment.