Native date picker closes without selecting a date on macOS

Open
#1,003 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
html, javascript, swift
Domain
frontend, web-dev

Research direction

Start by locating Yab’s Chromium integration and native date picker handling, then reproduce with the provided date-picker.html page on macOS. Compare pointer selection with the working keyboard path and the reported stock Chrome behavior. Done means clicking November 22 updates the field and fires the expected input and change events, including in modal and modeless dialogs.

Written by the indexing model from the issue text.

Description

bug needs triage
Yab version

Yab 0.50.0 (build 202611180909)

Device

Mac, Apple silicon

macOS or iOS version

macOS 26.6.2

Engine of the tab

Chromium

Area

Web compatibility, extensions

Steps to reproduce
  1. Save this as date-picker.html and open it in a Yab tab using the Chromium engine.
   <!doctype html>
   <meta charset="utf-8">
   <label>Date <input type="date" value="2026-11-19"></label>
  1. Click the calendar icon inside the date field.
  2. Click November 22, 2026.
What you expected

The calendar closes and the field updates to November 22, 2026.

What happened instead

The calendar closes and the field stays on November 19, 2026. The page briefly loses focus, then regains it. No input or change event fires.

I reproduced this on a plain page and inside both modal and modeless dialogs. Stock Chrome 158 saved the selected date in all three cases. Keyboard selection with Arrow Right and Enter worked in Yab.

How often

Every time

Your setup (optional)

Yab 0.50.0 (build 202611180909)
Tab engine Chromium, reporting Chrome/156.0.0.0
macOS 26.6.2

Did it work before? (optional)

No, never

Dominant language
Swift
Stars
648
Forks
56
Avg merge
21h 14m
Merged PRs (30d)
22

Getting set up

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 yetanotherbrowser/yab

All issues in yetanotherbrowser/yab

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.