Bug Tracker

Opened 9 years ago

Closed 7 years ago

#1868 closed bug (invalid)

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:
Blocked by: Blocking:

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 (3)

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

Concerns the BlockUI plugin

comment:2 Changed 9 years ago by davidserduke

  • Component changed from core to plugin

comment:3 Changed 7 years ago by dmethvin

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

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.