Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading state on AppSidebar and remove unwanted slot bind #1429

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

skjnldsv
Copy link
Contributor

@skjnldsv skjnldsv commented Oct 4, 2020

  • Added loading prop to AppSidebar
  • Removed non-working slot v-bind
  • Moved active show/hide to the css instead of relying on v-show to avoid conflicts

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv self-assigned this Oct 4, 2020
@skjnldsv skjnldsv added 3. to review Waiting for reviews enhancement New feature or request feature: app-sidebar Related to the app-sidebar component labels Oct 4, 2020
@@ -67,7 +69,8 @@ export default {
</script>

<style lang="scss" scoped>
section {
.app-sidebar__tab {
display: none;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By moving this to the css, we allow to use v-show on the AppSidebarTab as well, otherwise it was conflicting as we'd have two handlers, from the inside and from the outside.

@skjnldsv skjnldsv merged commit f8ee0c5 into master Oct 6, 2020
@skjnldsv skjnldsv deleted the fix/app-sidebar branch October 6, 2020 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: app-sidebar Related to the app-sidebar component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants