adopted-ember-addons / adopted-ember-addons/ember-paper

paper-speed-dial incorrectly renders open after removing class 'hide'

Đang mở
#865 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
879
Fork
327
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If the class 'hide' is applied to the paper-speed-dial on **initial render** and then subsequently the 'hide' class is removed, the paper-speed-dial will be shown as opened. Initializing passed down open property from parent component to false does not help.

From user perspective, to close, user must click the FAB twice. Per the Ember inspector the first click sets the paper-speed-dial open property to true (speed-dial remains open), and the second click sets the open property to false (speed-dial closes).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Reproduce the initial-render case described for paper-speed-dial: apply the hide class, remove it, and observe the component's open state and required clicks. Trace the paper-speed-dial component and its open-state handling; done means removing hide leaves it closed and one click closes it when appropriate.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.