Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Updated: code to make the tab index work on the authentication modals(#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Jan 22, 2021
1 parent 86166de commit cdef5ed
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion components/molecules/modals/m-modal-authentication.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="m-modal-authentication">
<SfModal :visible="isVisible" @close="closeModal">
<transition name="fade" mode="out-in">
<transition name="fade">
<MLogin v-if="modalData.payload === 'login'" />
<MRegister v-if="modalData.payload === 'register'" />
<MResetPassword v-if="modalData.payload === 'forgot-pass'" />
Expand Down Expand Up @@ -37,3 +37,16 @@ export default {
}
};
</script>

<style lang="scss" scoped>
.fade-enter-active {
transition: opacity .5s ease-in;
}
.fade-leave-to {
transition: opacity 0s ease-out;
}
.fade-enter, .fade-leave-to {
position: absolute;
opacity: 0;
}
</style>

0 comments on commit cdef5ed

Please sign in to comment.