Skip to content

OUT-3175 | Unable to Add Due Date to Task on iPhone Mobile Web App#1173

Merged
arpandhakal merged 1 commit intofeature/template-dynamic-fieldsfrom
OUT-3175
Mar 31, 2026
Merged

OUT-3175 | Unable to Add Due Date to Task on iPhone Mobile Web App#1173
arpandhakal merged 1 commit intofeature/template-dynamic-fieldsfrom
OUT-3175

Conversation

@arpandhakal
Copy link
Copy Markdown
Collaborator

Changes

  • useClickOutside component : The old check used composedPath() to look for MuiPickersPopper-root — this only matches the desktop variant. On mobile, MUI renders the calendar inside a Dialog, not a Popper, so the class never matched.

    The new check uses .closest() on event.target and looks for:

    • .MuiPickersPopper-root — desktop popup
    • .MuiPickersLayout-root — the picker layout (present in both desktop and mobile)
    • .MuiDateCalendar-root — the calendar itself (present in both)
  • maxWidth constraint on new task form due date button fixed.

Testing Criteria

@linear
Copy link
Copy Markdown

linear bot commented Mar 31, 2026

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment Mar 31, 2026 8:22am

Request Review

Copy link
Copy Markdown
Collaborator

@SandipBajracharya SandipBajracharya left a comment

Choose a reason for hiding this comment

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

LGTM 🙌

@arpandhakal arpandhakal merged commit 9aa9e32 into feature/template-dynamic-fields Mar 31, 2026
3 checks passed
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.

2 participants