mirror of
https://github.com/maputnik/editor.git
synced 2026-08-27 15:37:27 +00:00
Fix missing font auto complete menu (#1491)
## Launch Checklist This fixes the position of the autocomplete list - CSS fix mostly. It also changes the loading of the metadata to be using promises instead of callbacks. I couldn't reproduce the following issue, so I'll be closing it for now. - Fixes #945 Before: <img width="563" height="577" alt="image" src="https://github.com/user-attachments/assets/6ea264e1-cb85-4a8a-8df5-ab50e7815333" /> After: <img width="563" height="577" alt="image" src="https://github.com/user-attachments/assets/27fa2901-dd96-44fd-9774-363fd4c5ed98" /> - [x] Briefly describe the changes in this PR. - [x] Link to related issues. - [x] Include before/after visuals or gifs if this PR includes visual changes. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -207,6 +207,20 @@ describe("layer editor", () => {
|
||||
it("compound filter");
|
||||
});
|
||||
|
||||
describe("layout", () => {
|
||||
it("text-font", () => {
|
||||
when.setStyle("font");
|
||||
when.collapseGroupInLayerEditor();
|
||||
when.collapseGroupInLayerEditor(1);
|
||||
when.collapseGroupInLayerEditor(2);
|
||||
when.doWithin("spec-field:text-font", () => {
|
||||
get.element(".maputnik-autocomplete input").first().click();
|
||||
});
|
||||
then(get.element(".maputnik-autocomplete-menu-item")).shouldBeVisible();
|
||||
then(get.element(".maputnik-autocomplete-menu-item")).shouldHaveLength(3);
|
||||
});
|
||||
});
|
||||
|
||||
describe("paint", () => {
|
||||
it("expand/collapse");
|
||||
it("color");
|
||||
|
||||
Reference in New Issue
Block a user