notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.

Home Page:https://notiflix.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] - Long message getting cut off on Report. Implement scrolling?

polis80cy opened this issue · comments

commented

Describe the bug

I am using Report.Success with a long message. Is there a way to implement scrolling? Currently, it gets cut off. I didn't see anything relevant in the available properties.

Screenshots

Screenshot 2023-01-13 at 12 48 24 PM
Screenshot 2023-01-13 at 12 48 34 PM

Hi @polis80cy

Notiflix.Report.success(
  'Code explanation',
  'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
  'Okay',
  function cb() {
    alert('Okay');
  },
  {
    messageMaxLength: 123456, // as you wish...
  },
);

Please feel free to take a look at the documentation as well.
https://notiflix.github.io/documentation#DocsReport

Thanks.