Skip to content
This repository was archived by the owner on Nov 17, 2024. It is now read-only.
This repository was archived by the owner on Nov 17, 2024. It is now read-only.

Visual overflow in confirmation dialog #537

@benjammin4dayz

Description

@benjammin4dayz

Describe the bug

In cases when many loose assets (or a few assets with really long names) are deleted at once, the confirmation dialog can overflow beyond the viewport. This behavior obscures the dialog choices and leaves the user with no evident option to proceed.

To Reproduce

  1. Create a new project in the ct.js app (v5.1.0)
  2. Visit the Assets page
  3. Click the "New Asset" button
  4. Select "Built-in asset gallery"
  5. Find and select "Kenney's Platformer" in the asset gallery
  6. Click the "Import all" button
  7. Return to the Assets page
  8. Shift-click the first item in the Assets list
  9. Scroll down and shift-click the last item in the Assets list
  10. Right-click any highlighted asset and select "Delete"

Expected behavior

The list is displayed within a scrolling container with limited height and could potentially be truncated beyond N items.

System information report

Win11 x64

Screenshots (recommended)

cA5oqXPgPM.mp4

Metadata

Metadata

Labels

scope:ideThis involves changes to ct.IDE, its UI and logictype:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions