Skip to content

Datepicker closing when page back to min-date month #1251

Description

@davedoesdev

Overview of the problem

Buefy version: 0.7.3
Vuejs version: 2.6.4
OS/Browser: Ubuntu 18.10/Chrome 72

Description

Datepicker closes when page back to month of min-date.

Steps to reproduce

  1. Set min-date to now
  2. Open the datepicker
  3. Page forward
  4. Page back

Expected behavior

Dropdown should remain open

Actual behavior

Dropdown closes

Solution

Cause is:

https://github.com/buefy/buefy/blob/dev/src/components/datepicker/Datepicker.vue#L38

This should use v-show, not v-if, because isInWhiteList() needs to find it.

Activity

  1. changed the title [-]Datepicker closing when page back to min-start month[/-] [+]Datepicker closing when page back to min-date month[/+] on Mar 1, 2019
  2. self-assigned this
    on Mar 2, 2019
  3. added a commit that references this issue on Mar 2, 2019
  4. zcuric commented on Apr 10, 2019

    @zcuric

    When can we expect this to be released? Thank you.

  5. jtommy commented on Apr 10, 2019

    @jtommy
    Collaborator

    I think today or tomorrow

  6. zcuric commented on Apr 10, 2019

    @zcuric

    👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions