@vaadin-component-factory/vcf-anchor-nav
Advanced tools
Comparing version 1.2.0-beta.0 to 1.2.0-beta.1
{ | ||
"name": "@vaadin-component-factory/vcf-anchor-nav", | ||
"version": "1.2.0-beta.0", | ||
"version": "1.2.0-beta.1", | ||
"description": "Component with tabs used as anchor navigation and content sections. Automates the linking of tabs and sections.", | ||
@@ -66,3 +66,3 @@ "main": "vcf-anchor-nav.js", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@vaadin-component-factory/vcf-element-util": "^0.2.3", | ||
"@vaadin-component-factory/vcf-element-util": "^0.2.6", | ||
"@vaadin/vaadin-button": "^2.3.0", | ||
@@ -69,0 +69,0 @@ "@vaadin/vaadin-text-field": "2.5.5", |
@@ -152,3 +152,3 @@ import { html, PolymerElement } from '@polymer/polymer/polymer-element'; | ||
static get version() { | ||
return '1.2.0-beta.0'; | ||
return '1.2.0-beta.1'; | ||
} | ||
@@ -345,3 +345,3 @@ | ||
const height = this.clientHeight - this._tabHeight; | ||
return sectionHeight >= height ? (height / sectionHeight) * factor : 1; | ||
return height > 0 && sectionHeight >= height ? (height / sectionHeight) * factor : 1; | ||
} | ||
@@ -348,0 +348,0 @@ |
215663