Comments (5)
It should be fixed now.
You can set the reference element as a shadow DOM element.
const alwan = new Alwan(shadowRoot.querySelector('reference-selector'));
from alwan.
Thanks. It works now.
from alwan.
There appears to be some issue with the widget display when popover is set to false. Works well when popover is true (default).
from alwan.
I think it's because of the CSS in the global scope, put the CSS inside the shadow DOM.
from alwan.
Thanks. Will try.
from alwan.
Related Issues (13)
- Does it work with input tag? HOT 7
- Check if the colors are picked and then enable a button HOT 4
- `destroy()` method removes reference element when `preset` option is `false` HOT 1
- When there is a dialog element, the color picker box displays behind it HOT 3
- Transparent input when initial color is black and opacity is false
- 2.1.1 not tagged?
- Uncaught TypeError: Cannot convert undefined or null to object HOT 1
- No close event fired HOT 1
- error when pick color on 1.1.2 version plugin HOT 5
- Trouble building this with my Webpack config HOT 3
- Cannot copy color HOT 1
- Add support for labels in swatches HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alwan.