Skip to content

Dialogs in FindAndReplace/GoToLine take up space when closed, making code-input element vertically scrollable #210

Description

@WebCoder49

Go to https://v2.code-input-js.org/plugins/#playground-preset-find-and-replace and replace the <code-input> element with:

        <code-input language="markdown" style="height: 100px;"># Hickory dickory dock
Hickory dickory dock.</code-input>

They only get pointer-events: none; and opacity: 0; when closed. display: none; is probably needed but that may remove the dialog closing animation. There would still remain this bug when the dialog was open.

A vertical scrollbar lets a code-input element be scrolled to white space below the highlighted element.

Present on Firefox and Chromium.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:existing-pluginA bug/feature for an existing plugin in the plugins folder of code-input.bugSomething isn't workingpriority:medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions