Skip to content

Clicking on a b-form-tags does not always result with input getting focus #5425

Closed
@paweltatarczuk

Description

@paweltatarczuk

Describe the bug

Clicking on the ul element inside b-form-tags does not cause input to get focus, clicking on any other element or the div.b-form-tags itself works just fine (it focuses the input).

Steps to reproduce the bug

  1. Add tags unitl the input breaks to new line
  2. Click the white space after the last tag
  3. Input does not get focus

Expected behavior

Clicking anywhere inside the b-form-tags component should focus the input.

Versions

Libraries:

  • BootstrapVue: 2.14.0
  • Bootstrap: 4.4.1
  • Vue: 2.6.11

Environment:

  • Device: not relevant
  • OS: not relevant
  • Browser: not relevant
  • Version: not relevant

Demo link

https://jsfiddle.net/n049f1k5/0

Additional context

There is a workaround for this: https://jsfiddle.net/n049f1k5/1

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