Skip to content

Commit

Permalink
fix: placeholder height in Sticky Navbar with Dropbar
Browse files Browse the repository at this point in the history
  • Loading branch information
janschoenherr committed Sep 25, 2018
1 parent 612c26e commit 0c1a1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Expand Up @@ -26,7 +26,6 @@
- Allow for special characters in URI hash in Scroll Component
- Height Match also sets a `height` in IE
- Slideshow sets `min-height` instead of `height`
- Fix placeholder `height` in Sticky Navbar with Dropbar

## 3.0.0 rc 16 (September 12, 2018)

Expand Down
5 changes: 4 additions & 1 deletion src/js/core/navbar.js
Expand Up @@ -225,7 +225,10 @@ export default {
Transition.start(el, {clip: `rect(0,${el.offsetWidth}px,${newHeight}px,0)`}, this.duration)
])
.catch(noop)
.then(() => css(el, {clip: ''}));
.then(() => {
css(el, {clip: ''});
this.$update(dropbar);
});
},

getDropdown(el) {
Expand Down

0 comments on commit 0c1a1e8

Please sign in to comment.