Skip to content

[Bug]: Styling is off when using dropdownParent #967

@AzzaAzza69

Description

@AzzaAzza69

Bug description

Using the plugin "dropdown_input" and setting dropdownParent, the styling is off due to assuming same parent:

~271 the line:
.plugin-dropdown_input.focus .ts-dropdown .dropdown-input {
should be:
.plugin-dropdown_input .dropdown-input {

~504 the line:
.focus .ts-control {
should be:
.ts-control {

There may be some others but this is all I've spotted so far...

Expected behavior

The styling should apply regardless of configured options

Steps to reproduce

Create a select, using the plugins: ["dropdown_input"] and setting dropdownParent: 'body'.

Additional context

  • OS: n/a
  • Browser: n/a
  • Version: 2.4.3
  • Device: n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions