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.

Always shown modals.

See original GitHub issue

Hello,

I’m building a structure that uses routes as modal openers.

E.g. I make modal as child route:

{
    path: '/users',
    component: Users,
    children: [
      { path: 'create', component: CreateUserModal },
    ],
  },

When I visit /users/create it opens the modal by mounting it. But when I do it, I need to make modals visible by default:

mounted() {
  this.$refs.modal.show();
}

An attribute to make it visible by default would be nice for these kind of usage.

Maybe something like that may be nice:

<b-modal always-open=true>...

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pi0commented, May 18, 2017
1reaction
pi0commented, May 18, 2017

Yep, seems recent changes has broken v-model. Will investigate problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap, Modal is always show - Stack Overflow
First thing you should do is check what the value of "modal" is. Do a console.log(modal) to check the console if it is...
Read more >
Bootstrap modal always show on Codeply
Bootstrap modal always show Codeply example.
Read more >
Modal - Bootstrap
Use Bootstrap's JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.
Read more >
Vertical scroll bar always showing when modal shown #13608
A vertical scroll bar appears when a modal is shown even when the modal is smaller than the height of the browser window....
Read more >
Bootstrap Modal - examples & tutorial
Modal is a responsive popup used to display extra content. That includes prompts, configurations, cookie consents, etc. Use MDB modal plugin to add...
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