diff --git a/package.json b/package.json index 9dc27676..07edcd64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.7.10", + "version": "0.7.11", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu-private/" diff --git a/src/components/ScrollSections/SScrollSections.vue b/src/components/ScrollSections/SScrollSections.vue index c907a554..ec999958 100644 --- a/src/components/ScrollSections/SScrollSections.vue +++ b/src/components/ScrollSections/SScrollSections.vue @@ -189,6 +189,7 @@ export default class SScrollSections extends Vue { return } this.router.push({ hash: `#${section}` }) + this.$emit('section-click', section) const component = this.menuItems.filter((component: any) => component.section === section)[0] as any (component.$el as HTMLElement).scrollIntoView({ behavior: 'smooth' }) }