-
Notifications
You must be signed in to change notification settings - Fork 467
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
[WIP] Feature #3417 - Implement tuiDropdownDirectionChange & tuiHintDirectionChange #9645
[WIP] Feature #3417 - Implement tuiDropdownDirectionChange & tuiHintDirectionChange #9645
Conversation
Pull request was closed ✔️All saved screenshots (for current PR) were deleted 🗑️ |
BundleMonFiles updated (1)
Unchanged files (4)
Total files change +133B +0.02% Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
9f85746
to
014c744
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9645 +/- ##
==========================================
- Coverage 75.68% 75.23% -0.45%
==========================================
Files 1216 1248 +32
Lines 19068 19600 +532
Branches 2091 2090 -1
==========================================
+ Hits 14432 14747 +315
- Misses 4592 4807 +215
- Partials 44 46 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
959fd4d
to
c0624d6
Compare
@@ -57,10 +56,13 @@ export class TuiDropdownPositionSided extends TuiPositionAccessor { | |||
(available[this.previous] > minHeight && direction) || | |||
this.previous === better | |||
) { | |||
this.vertical.emitDirection(better); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be this.previous
here
const better: TuiVerticalDirection = | ||
available.top > available.bottom ? 'top' : 'bottom'; | ||
|
||
this.emitDirection(better); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not always better
, sometimes it's previous
, see if
on the next line.
.t-textfield-icon | ||
::ng-deep | ||
[tuiAppearance][data-appearance='icon']::after { | ||
:host:not(._readonly):not(._disabled):hover .t-textfield-icon ::ng-deep [tuiAppearance][data-appearance='icon']::after { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird that this got affected 🤔 You should rollback those style changes. Maybe you need to run npm i
to update some lint config packages locally?
@@ -10,13 +10,12 @@ import {TuiDropdownPosition} from './dropdown-position.directive'; | |||
@Directive({ | |||
standalone: true, | |||
selector: '[tuiDropdownSided]', | |||
providers: [TuiDropdownPosition, tuiAsPositionAccessor(TuiDropdownPositionSided)], | |||
providers: [tuiAsPositionAccessor(TuiDropdownPositionSided)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was still necessary. Please put it back — I'll investigate myself later how so.
Co-authored-by: taiga-family-bot <taiga-family-bot@users.noreply.github.com>
Co-authored-by: taiga-family-bot <taiga-family-bot@users.noreply.github.com>
…mily#9579) Co-authored-by: taiga-family-bot <taiga-family-bot@users.noreply.github.com>
…aiga-family#9648) Co-authored-by: Alexandr Shakirov <al.a.shakirov@tinkoff.ru>
…iga-family#9711) Co-authored-by: taiga-family-bot <taiga-family-bot@users.noreply.github.com>
…Bar` (taiga-family#9654) Co-authored-by: 40oleg <oleg.merkulov701@gmail.com> Co-authored-by: taiga-family-bot <taiga-family-bot@users.noreply.github.com>
…a-family#9715) Co-authored-by: taiga-family-bot <taiga-family-bot@users.noreply.github.com>
e711ab7
to
9f49f6b
Compare
Close #3417