Skip to content

Commit

Permalink
fix(core): disable isObscured check for HintPointer
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Mar 18, 2024
1 parent ba99fc3 commit 580a33b
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 580a33b

Please sign in to comment.