Skip to content

Ability to set a default for no-auto-hide for BToasts #5291

Closed
@dflock

Description

@dflock

Is your feature request related to a problem? Please describe...

I want to switch off auto-hide for all toasts, but I currently have to do this using the no-auto-hide prop on each b-toast individually, afaik.

Describe the solution you'd like

I'd like to be able to default auto-hide to off using a setting.

Describe alternatives you've considered

My current workaround is this:

BToast: {
    // Can't default to no-auto-hide, so...
    // 99999999/1000/60/60 = 27.7777775 hours
    autoHideDelay: 99999999
  }

...which works, but it's a bit of a kludge?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions