Closed radovaniljic closed 2 months ago
The ids-container hidden is helping with the Flash of unstyled content but i wanted to try another way https://github.com/infor-design/enterprise-wc/issues/2357
I think the color picker is updating in a weird way because of angular. We will check this out
It looks like the color picker always steals focus when it is added to the DOM (connectedCallback -> #configureSwatches), if I read this line correctly:
Describe the bug In Angular apps, if the
IdsContainer
does NOT have thehidden
attribute,IdsColorPicker
is scrolled into view when the page is loaded.To Reproduce Steps to reproduce the behavior:
src/app/components/ids-color-picker/demos/example/example.component.html
hidden
fromids-container
<ids-theme-switcher>
and the first<ids-layout-grid>
:http://localhost:4200/ids-color-picker/example
Expected behavior They shouldn't be scrolled into view
Version
1.2.0
Platform
OS Portal