Skip to content

RU: Если веб-ссылка >, она теряет активный класс / EN: If a web link >, it loses the active class #381

@christoph-menzi

Description

@christoph-menzi

Резюме / Summary

RU: Если родительская точка навигации является веб-ссылкой и вы щелкаете на второй дочерней точке навигации под ней, родительская ссылка теряет CSS-класс .active

У Wayfinder нет такой проблемы.

EN: If the parent navigation point is a web link and you click on the second subordinate navigation point below it, the parent link loses the CSS class .active

Wayfinder doesn't have that problem.

image

image

Шаг для воспроизведения / Step to play

RU:

  1. привязка первой навигационной точки как веб-ссылки к поддокументу
  2. щелкните на второй поднавигационной точке во фронтенде

EN:

  1. link the first navigation point as a web link to a subdocument
  2. click on the second sub-navigation point in the frontend

Наблюдаемое поведение / Observed behavior

RU: Активный класс теряется в родительском документе.
EN: The active class is lost in the parent document.

Ожидаемое поведение / Expected behavior

RU: Родительский документ получает CSS-класс .active
EN: The parent document gets the CSS class .active

Environment

Modx 3, pdotools-3.0.2-pl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions