Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7998

Notification messages are displayed at the bottom of the page instead of bottom of the screen

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      • create an anchor element and add a lot of dummy text to have the scroll enabled:
        <a id="example" href="#Example">here</a> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed eros rhoncus dui volutpat rutrum sit amet non erat. Sed eleifend, odio in lobortis lobortis, quam est ornare nisi, vel ...
        
      • add a notification for the click event using a jsx extension:
        document.observe("xwiki:dom:loaded", function() {
          if($('example')) {
            $('example').observe('click', function(event) {
              new XWiki.widgets.Notification('test', 'done');
            });
          }
        });
        

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            oana.tabaranu Elena-Oana Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: