EasyUI Forum
April 19, 2024, 09:21:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: messager + datagrid = resize event issue  (Read 4088 times)
sectioni
Jr. Member
**
Posts: 67


View Profile
« on: November 12, 2017, 04:20:29 AM »

Hello,

I am calling $.messager.alert
and when I do that, my datagrid on the page is starting to trigger multiple "scroll" events, and it's causing the UI thread of the browser to be stuck until it finishes.

The same happens when I try to resize the alert window with:
$('.messager-body').window({ width: 380, height: 180 })

How do I make the datagrid listen to resize events of the browser window or the body tag and not all DOM elements? (I guess this is the issue)

I'm on EasyUI 1.5.1
« Last Edit: November 12, 2017, 04:23:47 AM by sectioni » Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: November 12, 2017, 08:11:41 PM »

Please show an example to demonstrate your issue.
Logged
sectioni
Jr. Member
**
Posts: 67


View Profile
« Reply #2 on: November 13, 2017, 06:30:32 AM »

Ok I found my problem.

I had a method for closing a layout panel inside $.parser.onComplete event
This caused resizing for the layout and all panels inside.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!