Account created on 25 February 2024, 10 months ago
#

Recent comments

I see the point, however, clicking the parent menu item link doesn't open the page but only expands the submenu and closes the drawer.

By the way I had v2 installed because I followed the installtion docs. Maybe it's worth updating them.

Works like a charm, thank you!
There is a minor issue with drawer menu. When I click the accordion of second level menus the drawer closes an I have to reopen it to click the link.

Sorry for the late response.

Here is what I did in the field template:

    <div{{ attributes.addClass(classes, 'field__items') }}>
      {% for item in items %}
        <div{{ item.attributes.addClass('field__item').setAttribute('data-src', file_url(item.content['#item'].entity.uri.value)) }}">{{ item.content }}</div>
      {% endfor %}
    </div>

That's weird. What AT version are you on? I assume you have AT Layout Builder active in theme settings.

I can finally confirm that I am having the same issue. I solved it with unbind() before attaching the handler, but once gives the same result I guess. The true fix would be to find out why the script is called multiple times though.

I am experiencing a similar problem. The responsive menu doesn't open clicking the Hamburger toggle. I am not sure if it is the same cause though.
This is my site: https://www.pflanzini.de/
Can you check if this is related?

Sorry for the late response. I customized the field twig template and added the link myself.

Production build 0.71.5 2024