Skip to content

LocalDNS add/edit IP input field behaves incorrectly on Windows #397

@tsutsu3

Description

@tsutsu3

Describe the bug

When using the LocalDNS feature (add/edit), the IP input field behaves incorrectly on Windows.

  • On Android, the input field works as expected.
  • On Windows, the behavior is broken:
    • Tapping a suggestion closes the input field instead of selecting it.
    • Clicking the scrollbar to drag/scroll the suggestions also closes the input field.
  • Behavior on Linux is currently unknown.

To Reproduce

Steps to reproduce the behavior:

  1. Open LocalDNS add or edit screen.
  2. Focus the IP input field.
  3. Try to select a suggestion or scroll through the list using the scrollbar.

Expected behavior

  • Selecting a suggestion should fill the input field without closing it.
  • Clicking/dragging the scrollbar should allow scrolling without dismissing the input field.

Screenshots

Environments

  • Device:
  • OS: Windows
  • Browser:
  • Browser Version:
  • Pi-hole Client Version:
  • Pi-hole Version:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions