jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Tooltip, Notification, Popover Jqxpopover offset values not taking dynamically.

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Hi team,

    i am using JQXPOPOVER in my project. i can maximize and minimize my application. so i want jqxpopover to be placed at right position after application resized. application size will differ from monitor to monitor according to resolution. Now i want POPOVER to be place at right position even after application resized. By setting the offset values dynamically my popover is dis-appearing.

    <jqxPopover #propertiesPopOver (onClose)="propertiesPopOverClose($event)" [showCloseButton]="true" [selector]="'#propertiespaneltour'"
      [arrowOffsetValue]="0" [theme]="'propertiesTour'" [position]="'left'" [width]="350" [autoClose]="false"></jqxPopover>
              if (this.propertiesPopOver) {
                    this.propertiesPopOver.position('center');
              }

    this if statement will execute in my resize function where i will resize the application. while executing this if statement the POPOVER is dis-appearing

    kindly suggest a solution.
    Thanks,
    Hanusaikrishna.


    Martin
    Participant

    Hello Hanusaikrishna,

    Yes, when you update the popover’s position it closes.
    However, you can simply call the open method after that.
    Please, take a look at this Example.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.