Am 29.05.2021 um 01:50 schrieb
adam.me...@gmail.com:
> I'm not sure if I'm 100% accurate, but up-drawer is configured with a
> macro. My guess is that up-modal and up-follow are applied using regular
> element listeners that are setup on document.
>
>
https://github.com/unpoly/unpoly/blob/912b782b60510d4a802dec2e60110f14b6fc98c5/lib/assets/javascripts/unpoly/modal.coffee.erb#L775-L779
>
> The macro had fired before DataTables modified the DOM.
>
> On Friday, May 28, 2021 at 5:43:39 PM UTC-4
gustav...@gmail.com wrote:
>
> That's exactly what happened. But I'm curious to understand why
> modal and target works and the drawer doesn't
>
> Em sex, 28 de mai de 2021 17:46,
adam.me...@gmail.com
> <
adam.me...@gmail.com> escreveu:
>
> Shot in the dark (since you said it's working for other links),
> but if DataTables is manipulating the DOM, maybe you need to
> call `up.hello(elementDataTablesInserted)`?
>
> On Friday, May 28, 2021 at 8:28:48 AM UTC-4
gustav...@gmail.com
> wrote:
>
> The weird thing is that there are no errors. It simply looks
> like it didn't bind the click to that element and it's only
> happening within links inside a DataTables table. But for
> some reason up-modal and up-target works fine.
>
> On Fri, May 28, 2021 at 9:11 AM Gustavo Gawryszewski
> <
gustav...@gmail.com> wrote:
>
> No, that's not the real link. The link is the same. I'm
> just changing the up-{target, modal, drawer} property.
> Using the drawer, it looks like it's behaving like a
> regular link.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "unpoly" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
unpoly+un...@googlegroups.com.
>
> To view this discussion on the web visit