Skip to content

[BUG] ColourInput might appear outside the screen and therefore be inaccessible #37

@stjeske

Description

@stjeske

Describe the bug

If the screen width isn't wide enough, you may encounter problems when using the 3 color gradients colourInput.
In that case, it could happen that the color palette slider (and also the color transparancy slider) are off-screen. The horizontal scrollbar is not usable, since the color palette collapses after a mouse click on the scrollbar by default.

Image

Steps to reproduce

  1. Upload any data
  2. Select an Event Group to change Group Colors
  3. (Adjust Screen width)
  4. Click 3 Color Gradient as method and
  5. Click on the third colourInput (as shown above)

Expected behavior

Be able to select a colour as expected

Screenshots/Error Messages

No response

R Version

No response

RStudio Version

No response

Megaplots Version

No response

Browser

No response

Operating System

No response

Device

None

Package Dependencies

Additional context

A workaround can be achieved by using a mousepad with vertical scrolling or changing the scroll direction.
A possible solution might be to change the scroll direction of this specific panel from vertical to horizontal, since the importance of the vertical scroll bar for the color panel is rather negligible.

Minimal Reproducible Example

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions