-
Notifications
You must be signed in to change notification settings - Fork 92
[DT-149] Fix for invite user issue with email addition auto scrolling #956
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
[DT-149] Fix for invite user issue with email addition auto scrolling #956
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
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.
Couple of small suggestions, but looks good otherwise!
@@ -10,13 +12,39 @@ | |||
export let required = false; | |||
export let hintText = ''; | |||
export let validator: (value: string) => boolean = () => true; | |||
const values = writable<string[]>(chips); |
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.
What's the motivation behind making this a store?
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 wanted some way to compare the previous values to the new values to determine if shouldScrollToInput
after the input updates. Open to ideas if there's a better way to go about this!
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.
Ah that makes sense. This is good I was just curious 🙂
a6fd8da
to
9dfc654
Compare
What was changed
Checklist
Closes:
DT-149
andDT-151
How was this tested:
x
that the container does not scrollNamespace
is capitalized on the Namespace switcherNamespace
is capitalized on the welcome page