Ticket #6926 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Window doesn't change to size that helper shows when snapping to grid

Reported by: echos Owned by: echos
Priority: minor Milestone: 1.8.10
Component: ui.resizable Version: 1.8.9
Keywords: Cc:
Blocking: Blocked by:

Description

When you create a resizable object with the following params the item doesn't conform to the size of the helper and instead sizes the box to where the mouse curser is.

$('.blue').resizable({
	grid: [150, 150],
	helper: 'ui-state-highlight'
});

Change History

comment:1 Changed 4 years ago by scott.gonzalez

  • Owner set to echos
  • Status changed from new to pending

Pull request:  https://github.com/jquery/jquery-ui/pull/105

Requested a more detailed explanation and a demo showing the problem.

comment:2 Changed 4 years ago by George Marshall

  • Status changed from pending to closed
  • Resolution set to fixed

Resizable: Changed the way box size is determined when using a helper. Fixed #6926 - Window doesn't change to size that helper shows when snapping to grid (cherry picked from commit 002f9a2629b906983c0b9edaffa0f7b9b5e457f5)

Changeset: d6fa44a0b4c5bf08f31040f9008e8fb54b36db02

comment:2 Changed 4 years ago by George Marshall

  • Status changed from pending to closed
  • Resolution set to fixed

Resizable: Changed the way box size is determined when using a helper. Fixed #6926 - Window doesn't change to size that helper shows when snapping to grid

Changeset: 002f9a2629b906983c0b9edaffa0f7b9b5e457f5

comment:3 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.10
Note: See TracTickets for help on using tickets.