-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] @prizm-ui/components - Не скрывается PrizmHint #716
Labels
answer:research_need
estimate:sp3
Story Point - 3
priority:middle
Tag: priority:middle — Denotes tasks or issues with a moderate level of importance. These items shou
state:ready
ready for release (pass tested)
type:bug
Something isn't working
Milestone
Comments
AntonGrekov
changed the title
[BUG] @prizm-ui/components - Краткое описание проблемы
[BUG] @prizm-ui/components - Не скрывается PrizmHint
Sep 12, 2023
ZurabDev
added
priority:middle
Tag: priority:middle — Denotes tasks or issues with a moderate level of importance. These items shou
october2023
labels
Oct 6, 2023
ZurabDev
added a commit
that referenced
this issue
Jun 7, 2024
ZurabDev
added a commit
that referenced
this issue
Jun 7, 2024
ZurabDev
added a commit
that referenced
this issue
Jun 7, 2024
ZurabDev
added
state:ready
ready for release (pass tested)
estimate:sp3
Story Point - 3
labels
Jun 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
answer:research_need
estimate:sp3
Story Point - 3
priority:middle
Tag: priority:middle — Denotes tasks or issues with a moderate level of importance. These items shou
state:ready
ready for release (pass tested)
type:bug
Something isn't working
Библиотека
@prizm-ui/components
Компонент
PrizmHint
Версия
"@prizm-ui/components": "^2.1.3",
Проект в котором используется Prizm
IDP
Скрин / Видео проблемы
screen-capture.13.mp4
Воспроизведение проблемы
https://stackblitz.com/edit/prizm-v2-demo-mloftw?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.less
Описание проблемы
Довольно специфичный кейс. Для воспроизведения нужен сплиттер и логика переключающая direction сплиттера с горизонтального на вертикальное. Плюс в довесок еще нужно попасть в тайминг. Тогда всё воспроизводится. При дефолтном времени появления подсказки попасть в тайминг довольно легко - для этого надо просто навести не спеша на иконку и кликнуть, отсюда и появился баг, почти любой пользователь ловит это нестандартное поведение.
Баг заключается в том, что при нажатии на кнопку с подсказкой, которая меняет внешний вид страницы(а именно переключает direction c horizontal на vertical для сплиттера) подсказка появляется с задержкой, при этом мышка не наведена на кнопку, т. е. подсказка не должна отображаться по сути. Еще тут важным оказалось то, что текст подсказки ([prizmHint]="...") должен быть вычисляемым, в примере:
The text was updated successfully, but these errors were encountered: