Skip to content

Don't open TimePickerModal on click time-picker-preview #1

@BalGuldur

Description

@BalGuldur

Don't open modal becourse click on time-picker run two function: toggleFocus() and onClearFocus() becourse element OutsideClickHandler catch this click as outside click. toggleFocus() - open modal then onClearFocus() close modal.
I think need add overElement data for TimePicker(), add
@mouseover="overElement=true" @mouseout="overElement=false" to time-picker-preview,
and change onClearFocus() to:

  !this.overElement && (this.focused = false)
  !this.overElement && this.onFocusChanged && this.onFocusChanged(false)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions