2
  • Dialog box with large contents overflow out of window bounds

  • BugsDesktopDone

A dialog box (triggered by JavaScript's alert(), confirm() or prompt()) that contains too much text is not adequately contained within the bounds of Orion's window, and overflows out.

For example, using this code

alert("This is a test with a very long text. ".repeat(300)); // change value as needed depending on your screen height)

will trigger a prompt on screen whose top and bottom are outside the confines of the window. This means the "close" button is impossible to click on (though the user can still press Enter or Esc to close it).

I would like Orion to intelligently render the dialog box by limiting its maximum top and bottom positions to the respective edges of the screen (with reasonable margin in between), allowing me to scroll through contents exceeding the limits with a scroll bar.

Version 0.99.128.2.1-beta (WebKit 619.1.11.111.2)

Sequoia (15)

  • Vlad replied to this.

    Vlad Yes, actually - on Safari it works much like how I expected:

    The dialog box is nicely padded around the top and bottom margins of the page, with a scroll bar.

    15 days later
    a month later
    No one is typing