Skip to content
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

Closed
1 task
AntonGrekov opened this issue Sep 12, 2023 · 0 comments
Closed
1 task
Assignees
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
Copy link

AntonGrekov commented Sep 12, 2023

Библиотека

  • @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]="...") должен быть вычисляемым, в примере:

[prizmHint]="isVerticalView ? '11111' : '2222'"
@AntonGrekov AntonGrekov changed the title [BUG] @prizm-ui/components - Краткое описание проблемы [BUG] @prizm-ui/components - Не скрывается PrizmHint Sep 12, 2023
@Mainkira Mainkira added the type:bug Something isn't working label Sep 13, 2023
@ZurabDev ZurabDev self-assigned this Sep 13, 2023
@ZurabDev 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 ZurabDev added this to the october milestone Oct 6, 2023
@alexhawkins94 alexhawkins94 modified the milestones: october, 4.2.0 Feb 5, 2024
@imonogarov imonogarov modified the milestones: 4.2.0, 4.4.0 May 24, 2024
@ZurabDev ZurabDev modified the milestones: 4.4.0, 4.3.2 Jun 5, 2024
@ZurabDev ZurabDev added state:ready ready for release (pass tested) estimate:sp3 Story Point - 3 labels Jun 7, 2024
ickisIckis added a commit that referenced this issue Jun 13, 2024
fix(components/hint): update overlay only when changes deps #1719 #716
ZurabDev added a commit that referenced this issue Jun 13, 2024
fix(components/hint): update overlay only when changes deps #1719 #716
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
Projects
Status: Done
Development

No branches or pull requests

6 participants