-
Notifications
You must be signed in to change notification settings - Fork 69
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
Lightbox is not Working with Bootstrap #10
Comments
I have the same problem, using bootstrap 3.3.6 |
I fixed it by adding a class to the element and adding this class afterwards in te component like this : The .vue component would look like : ` <customer-upload-light-box :visible="visible" :imgs="image" @hide="hideImage" class="force-display" > <script> import LightBox from 'vue-easy-lightbox'; export default { name: 'app', data() { return { } }, methods: { hideImage: function() { this.$store.commit('HIDE_IMAGE', ''); }, }, computed:{ visible() { return this.$store.getters.visible; }, image() { return this.$store.getters.image; }, }, components: { customerUploadLightBox: LightBox, } } </script> <style lang="scss"> .force-display{ display:block!important; } </style> ` |
Thanks alot @GreenLeewayDesignCastle It's working now. 💯 |
I didn't use Bootstrap. It's there any demos? |
Hey @XiongAmao Here's the simple project I am working on if you can take a look: Yeah i'll suggest to add |
Thx guys ! @MuhaddiMu @GreenLeewayDesignCastle |
I'm not sure why it's not working with Bootstrap.
When I remove
import ('Bootstrap.css)
its working fine while my custom stylesheet still there.Any help would be much appreciated
Thanks
The text was updated successfully, but these errors were encountered: