Bug Tracker

Ticket #1868 (closed bug: invalid)

Opened 7 years ago

Last modified 5 years ago

loosing position property of the element affected by the block function

Reported by: akousari Owned by:
Priority: major Milestone: 1.2.2
Component: plugin Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:

Description

when the block function is called all elements with static postioning whitin the blocked div loose their static property.

Solution:

Add the following line in the unblock function this.style.position = 'static';

You can of course go further and keep a boolean field so if the positioning has not changed (within the block function) then don't set it to static (keep it relative).

Change History

comment:1 in reply to: ↑ description Changed 7 years ago by akousari

Concerns the BlockUI plugin

comment:2 Changed 7 years ago by davidserduke

  • Component changed from core to plugin

comment:3 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker,  http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.