#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 Changed 8 years ago by
comment:2 follow-up: 3 Changed 8 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
That's correct. You're removed the handles by doing that.
comment:3 Changed 8 years ago by
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:5 follow-up: 6 Changed 8 years ago by
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 Changed 8 years ago by
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
i messed up with the heading for this bug. I meant to complete the phrase "changing innerHTML seems to destroy "resizable" functionality