Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.11] [maps] fix expand layer control is not clickable when layers a…
…re loading (elastic#170912) (elastic#171025) # Backport This will backport the following commits from `main` to `8.11`: - [[maps] fix expand layer control is not clickable when layers are loading (elastic#170912)](elastic#170912) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-11-10T14:00:05Z","message":"[maps] fix expand layer control is not clickable when layers are loading (elastic#170912)\n\nCloses https://github.com/elastic/kibana/issues/170911\r\n\r\nroot problem is that `EuiButton*` components are disabled when passed\r\n`isLoading` property. Re-worked component to not pass `isLoading` to\r\n`EuiButton*`\r\n\r\n### Test instructions\r\n1. create new map\r\n2. click \"Collapse layers panel\" to collapse layer control\r\n3. open browser dev tools. Open network tab and select \"Slow 3G\"\r\n4. Pan and zoom map to cause basemap tiles to load. \"Expand layers\r\npanel\" button should be clickable during loading\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"bc2202df1ae226f97068b4709050741949f35923","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","Feature:Maps","v8.12.0","v8.11.1"],"number":170912,"url":"https://github.com/elastic/kibana/pull/170912","mergeCommit":{"message":"[maps] fix expand layer control is not clickable when layers are loading (elastic#170912)\n\nCloses https://github.com/elastic/kibana/issues/170911\r\n\r\nroot problem is that `EuiButton*` components are disabled when passed\r\n`isLoading` property. Re-worked component to not pass `isLoading` to\r\n`EuiButton*`\r\n\r\n### Test instructions\r\n1. create new map\r\n2. click \"Collapse layers panel\" to collapse layer control\r\n3. open browser dev tools. Open network tab and select \"Slow 3G\"\r\n4. Pan and zoom map to cause basemap tiles to load. \"Expand layers\r\npanel\" button should be clickable during loading\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"bc2202df1ae226f97068b4709050741949f35923"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170912","number":170912,"mergeCommit":{"message":"[maps] fix expand layer control is not clickable when layers are loading (elastic#170912)\n\nCloses https://github.com/elastic/kibana/issues/170911\r\n\r\nroot problem is that `EuiButton*` components are disabled when passed\r\n`isLoading` property. Re-worked component to not pass `isLoading` to\r\n`EuiButton*`\r\n\r\n### Test instructions\r\n1. create new map\r\n2. click \"Collapse layers panel\" to collapse layer control\r\n3. open browser dev tools. Open network tab and select \"Slow 3G\"\r\n4. Pan and zoom map to cause basemap tiles to load. \"Expand layers\r\npanel\" button should be clickable during loading\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"bc2202df1ae226f97068b4709050741949f35923"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <[email protected]>
- Loading branch information