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

Fix infinite expanding error list #80

Merged
merged 5 commits into from
Jan 17, 2022

Conversation

partiallyordered
Copy link
Contributor

@partiallyordered partiallyordered commented Jan 5, 2022

Also improve reliability of integration tests by using ML TS client.

Justification of this implementation: these error lists shouldn't be long; therefore functionality available with DataList such as pagination, search and sort is redundant. Use a plain table instead. This doesn't solve the underlying issue with DataList, but as the issue doesn't seem to exist with other usage of DataList and we don't need it for this purpose, this will suffice for now.

Note for potential future readers: the problem seems to be caused by an ever-expanding bounding rectangle and computed styles in ScrollBox here: https://github.com/modusintegration/modusbox-ui-components/blob/21983a45e626080fc91e5872c0f8de1d36ad87f4/src/components/ScrollBox/ScrollBox.js#L61. It does not occur when DataList is inside a different element, i.e. when it's used to display the settlement or settlement window list.

Copy link

@kirgene kirgene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kleyow
Copy link

kleyow commented Jan 15, 2022

lgtm

@partiallyordered partiallyordered merged commit f1b3a1d into master Jan 17, 2022
@partiallyordered partiallyordered deleted the bugfix/infinite-expanding-datalist branch January 17, 2022 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants