Skip to content

Commit

Permalink
fix(core): disable isObscured check for HintPointer (#7021)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin authored Mar 18, 2024
1 parent 292d762 commit de7eda6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/core/directives/hint/hint-hover.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ export class TuiHintHoverDirective extends TuiDriver {
),
).pipe(
filter(() => this.enabled),
map(value => value && !tuiIsObscured(this.el)),
map(
value =>
value &&
(this.el.hasAttribute('tuiHintPointer') || !tuiIsObscured(this.el)),
),
tap(visible => {
this.visible = visible;
}),
Expand Down

0 comments on commit de7eda6

Please sign in to comment.