Skip to content

Scroll left when I click on a selectized item and page is scrolled right #1818

Closed
@Bonten156

Description

@Bonten156

I did:

  • Search for if my issue has already been submitted
  • Make sure I'm reporting something precise that needs to be fixed
  • Give my issue a descriptive and concise title
  • Create a minimal working example on JsFiddle or Codepen
    (or gave a link to a demo on the Selectize docs)
  • Indicate precise steps to reproduce in numbers and the result,
    like below

When I click on an option and if the page is scrolled right, there is a scroll left.
With remove_button plugin, if I click on the cross, there is a scroll too and item is not removed.

Steps to reproduce:

  1. go to https://selectize.dev/plugins/2020/01/01/remove-button-copy/
  2. Add margin to example div like below and scroll to the right :

image

  1. Try to remove one item

Expected result: Item is removed

Actual result: page scroll left and item is not removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions