akveo / akveo/nebular

Need ability to set fixed ID property for cdk-overlay-pane

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

Mô tả

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [X] feature request

### Issue description

**Current behavior:**
Currently, the cdk-overlay-pane container has a dynamic ID ('#cdk-overlay-' + number of modals that have been opened). Each time a new modal is opened, the number is incremented (#cdk-overlay-1, #cdk-overlay-2 etc).

**Expected behavior:**
For testing purposes, to have the ability to set a fixed ID or to halt the ID counter. Since the modal is destroyed and removed from the DOM after it closes, maybe it wouldn't be a problem to use the same ID.

**Steps to reproduce:**

**Related code:**

### Other information:

**npm, node, OS, Browser**

**Angular, Nebular**

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

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

Đánh giá

Issue này chưa được đánh giá.

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.