Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10928 closed bug (notabug)

changing innerHTML seems to destroy

Reported by: moonphrase Owned by:
Priority: minor Milestone: none
Component: ui.resizable Version: 1.11.2
Keywords: Cc:
Blocked by: Blocking:

Description

after doing...

$( "#mydiv" ).resizable({ ... })

(which works for me, as intended)

and then doing...

$('#mydiv').html('Am I still resizable?');

the resizability goes away. The #mydiv is no longer resizable.

Change History (7)

comment:1 in reply to:  description Changed 8 years ago by moonphrase

i messed up with the heading for this bug. I meant to complete the phrase "changing innerHTML seems to destroy "resizable" functionality

comment:2 Changed 8 years ago by Scott González

Resolution: notabug
Status: newclosed

That's correct. You're removed the handles by doing that.

comment:3 in reply to:  2 Changed 8 years ago by moonphrase

Replying to scott.gonzalez:

That's correct. You're removed the handles by doing that.

?!? Why would you consider that as normal and final?

Wouldn't preserving the resizable handle, regardless of the other modifications, provide enormously more powerful development/design features, than not?

(Or perhaps this is more of a feature request?)

there are so many more design options that open up, with your "resizable" handle having more "staying power" :-)

comment:4 Changed 8 years ago by Scott González

How would you propose this work?

comment:5 Changed 8 years ago by moonphrase

Not sure, at this point. I would be willing to help. If you guys clue me in on the code internals (the relevant functions), perhaps I might contribute some algorithmic idea, or be the user-end "gad fly" to make it happen (or something in-between :-)). I can start by exploring the code myself.

Also, i'm not sure how you guys communicate when you're developing - I hope not only through this ticket system :-)

(I was able to send emails to two people on your team, but not to you (Scott) - couldn't find your address anywhere.

comment:6 in reply to:  5 Changed 8 years ago by Scott González

Replying to moonphrase:

Not sure, at this point. I would be willing to help. If you guys clue me in on the code internals (the relevant functions), perhaps I might contribute some algorithmic idea, or be the user-end "gad fly" to make it happen (or something in-between :-)). I can start by exploring the code myself.

Here's the important part: handles are children of the resizable element. I see no possible solution to get around that.

Also, i'm not sure how you guys communicate when you're developing - I hope not only through this ticket system :-)

You should read the contributing guidelines.

(I was able to send emails to two people on your team, but not to you (Scott) - couldn't find your address anywhere.

My email address is plastered all over the internet. See https://github.com/scottgonzalez

Last edited 8 years ago by Scott González (previous) (diff)

comment:7 Changed 8 years ago by Scott González

#13681 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.