month picker/year picker bug in calendar

Open Beginner friendly
#4,222 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
javascript
Domain
mobile

Research direction

Reproduce the issue in the provided CodeSandbox using the sheet modal calendar, then locate the monthPicker/yearPicker done-button implementation and inspect its sheet-close behavior. The fix is complete when Done closes only the picker popover while leaving the sheet modal calendar open; repeat the listed reproduction steps on Framework7 8.3.0.

Written by the indexing model from the issue text.

Description

  • Framework7 version: 8.3.0
  • Platform and Target: Cordova Android & ios
  • Live Link or CodeSandbox: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP). You can start from forking the following CodeSandbox template: CodeSandbox
Describe the bug

If you press the "done" button on the monthPicker&yearPicker in the sheet modal calendar, the sheet will be closed.

To Reproduce

Steps to reproduce the behavior:

  1. Open sheet modal calendar
  2. Click on monthPicker or yearPicker
  3. Click the “done” button
  4. closed sheet modal calendar
Expected behavior

The popover should close.

Actual Behavior

The sheet modal calendar closes.

Additional context

You need to remove the "sheet-close" class from the "done" button.

Dominant language
JavaScript
Stars
18.8k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from framework7io/framework7

All issues in framework7io/framework7

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.