Skip to content

Commit

Permalink
2075: some dialogs email settings unenroll not keyboard navigable (#2079
Browse files Browse the repository at this point in the history
)

* Fixed form submission via keyboard

* Revert "Fixed form submission via keyboard"

This reverts commit 8c18fe4.

* Actual working fix
  • Loading branch information
collinpreston authored Feb 2, 2024
1 parent 84eba58 commit dfde0ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/public/src/components/EnrolledItemCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ export class EnrolledItemCard extends React.Component<
/>{" "}
<label
id={`verified-unenrollment-${values.enrollmentId}-email-checkbox`}
check
>
Receive course emails
</label>
Expand Down Expand Up @@ -534,7 +533,6 @@ export class EnrolledItemCard extends React.Component<
>
Unenroll
</DropdownItem>
{this.renderRunUnenrollmentModal(enrollment)}
</span>
<span id="subscribeButtonWrapper">
<DropdownItem
Expand All @@ -543,10 +541,11 @@ export class EnrolledItemCard extends React.Component<
>
Email Settings
</DropdownItem>
{this.renderEmailSettingsDialog(enrollment)}
</span>
</DropdownMenu>
</Dropdown>
{this.renderRunUnenrollmentModal(enrollment)}
{this.renderEmailSettingsDialog(enrollment)}
</div>
<div className="detail pt-1">
{courseId}
Expand Down

0 comments on commit dfde0ff

Please sign in to comment.