HubSpot / vex

A modern dialog library which is highly configurable and easy to style. #hubspot-open-source
http://github.hubspot.com/vex/docs/welcome
MIT License
6.92k stars 494 forks source link

JS is not executed when open vex popup v3.0.0 #193

Closed shkodasv closed 7 years ago

shkodasv commented 7 years ago

Hi! vex.open({ unsafeContent: response, className: 'vex-quicklook', }); where response is `

TEST
` JS is not executed. vex.js 2.2.1 works fine. Could you please help with this issue ?
shkodasv commented 7 years ago

Thx for reply!

On Mon, Mar 6, 2017 at 12:35 PM, Michał Łazowik notifications@github.com wrote:

This is unfortunately a limitation introduced in version 3, as it only accepts strings even for unsafe content. We use jquery event delegation https://learn.jquery.com/events/event-delegation/ as a workaround.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HubSpot/vex/issues/193#issuecomment-284360141, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzHshX6VDUS6h2aqd5DTFkkJChD8n30ks5ri-FtgaJpZM4K6oCj .

-- Best regards,

Valentina Smirnova

bharal commented 7 years ago

this should be open