Skip to content

An application hangs when two calendars are rendered #179

@andy128k

Description

@andy128k

Problem

I am creating a custom DateRangePicker and trying to reuse Calendar from Dioxus Components. An application with just this one component hangs, a browser does not react to any events and only closing of a tab with the application and reopening of it helps.

Something I managed to narrow down: If I remove properties view_date and on_view_change then the popover opens but hangs after a second (or third) attempt. If I remove one of the CalendarGrid {} then it does not hang.

Steps To Reproduce

Steps to reproduce the behavior:

Expected behavior

Whatever but not hanging.

Screenshots

Environment:

  • Dioxus version: 0.7.2
  • Rust version: 1.91.1
  • OS info: Debian Sid
  • App platform: web

Questionnaire

I'm interested in fixing this myself but don't know where to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions