-
Notifications
You must be signed in to change notification settings - Fork 45
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
[WC-2773]: Focus lost on change #1421
base: main
Are you sure you want to change the base?
Conversation
09d8da6
to
d715198
Compare
d7bf96e
to
a217f74
Compare
d715198
to
7416042
Compare
c5c2966
to
6142d4e
Compare
ed2f582
to
130575f
Compare
0365d58
to
9f2af4c
Compare
isInfinite, | ||
setPage | ||
}); | ||
const baseClass = "widget-datagrid-grid-body table-content"; |
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.
I see only one usage of this const, I guess we can inline it.
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.
done
return this.refreshing; | ||
} | ||
|
||
get isLoadingMore(): boolean { |
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.
We can possibly replace Loading word in the name of this field. I am thinking we can use Fetching instead: isFetching, isFetchingNextPage, isFetchingNextBatch or something.
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.
I like isFetching
, short and not very specific
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.
done
Are mobx changes here because of rebase? |
No, the mobx-kit is introduced in this PR |
1562408
to
9d3cab3
Compare
Pull request type
Dependency changes (any modification to dependencies in
package.json
)Refactoring (e.g. file rename, variable rename, etc.)
Bug fix (non-breaking change which fixes an issue)
Breaking change (fix or feature that would cause existing functionality to change)
Description
This PR finally extract grid header from body. This change how scroll is implemented. Also this PR fixes issue with loosing focus in DG filters.
What should be covered while testing?