Skip to content

Modal closes on child component input event #2597

@NoahStahl

Description

@NoahStahl

After upgrading to rc12, I see behavior where an input event emitted in a component within a b-modal causes the modal to close. The basic structure is: b-modal contains b-form contains a custom component with a v-model (array of strings in this case). When a method in custom component is called to emit an 'input' event to update the value prop supplied as v-model (removing an item from the array), the modal closes.

No errors are shown in console. My environment is Chrome 72 on Windows 10.

This began with rc12, worked fine in rc11. I've reverted in the meantime. Apologies not supplying repro code, but hoping the description might help clue in to what might be going on. Great work on this library!

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