question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

b-modal custom transitions

See original GitHub issue

It would be very nice, that it is possible to specify and to use custom transition animations (animate.css e.g) for bootstrap modal component. For example:

<b-modal entrance-transition="animated fadeIn"  leave-transition="animated bounceOut" ref="myModal" 
centered hide-footer>
    <div class="d-block text-center">
        <h3>Hello From My Modal!</h3>
    </div>
    <b-btn class="mt-3" variant="outline-danger" block @click="hideModal">Close Me</b-btn>
</b-modal>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tmorehousecommented, Oct 26, 2018

Bootstrap-Vue uses the standard Bootstrap V4 CSS, of which you can customize their CSS using Sass, or you can override their styles in regular CSS file (and perhaps target specific modals using a class placed on the b-modal component).

0reactions
jacobmllr95commented, Jan 13, 2019

@tmorehouse I think we can close this as it’s answered and not really related to BootstrapVue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create transition/animation on bootstrap-vue modal[b ...
I'm trying to create a b-modal with some animation effect using Animate.css. I'm referring this Custom-Transition-Classes.
Read more >
Modal | Components - BootstrapVue
<b-modal> , by default, has an OK and Cancel buttons in the footer. These buttons can be customized by setting various props on...
Read more >
BootstrapVue —Customizing Modals - Medium
We can change the modal size with the size prop. For instance, we can write: <template> <div id="app"> <b-button v-b-modal ...
Read more >
Vue Bootstrap Modal - examples & tutorial
Responsive Modal built with the latest Bootstrap 5. Multiple code examples: popup, width, size, form, close, animation & many more.
Read more >
Modal · Bootstrap v5.0
Use Bootstrap's JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found