Comments (15)
Thanks for the heads up. Shouldn't be a problem to fix. Looks like I just need to filter out native functions before I clone the local context.
I don't have time today but I should be able to look more into it soon.
from sveltestrap.
Checked on
- Chromium: Version 81.0.4033.2 (Developer Build) Ubuntu 19.10 (64-bit)
- Chrome: Version 80.0.3987.116 (Official Build) unknown (64-bit)
from sveltestrap.
On Firefox 73.0 (64-bit) Ubuntu:
- DataCloneError: The object could not be cloned.
from sveltestrap.
Hi @vfilatov, are you running the sample locally? Or are you looking at the website docs.
The docs use storybook library which uses React, etc that might confuse things or trigger errors
from sveltestrap.
@bestguy I think we should only accept issue with issue reproduction on REPLs online.
The little time we can devote to FOSS should not be supportive of non-repository problems.
Am I wrong?
from sveltestrap.
from sveltestrap.
It's not because of you or related to you, @vfilatov.
from sveltestrap.
Hi @vfilatov, are you running the sample locally? Or are you looking at the website docs.
The docs use storybook library which uses React, etc that might confuse things or trigger errors
locally.
from sveltestrap.
Thanks @vfilatov for the reproduction steps, can take a look
from sveltestrap.
node_modules/sveltestrap/src/Nav.svelte:
variable "fill" conflicts with Svelte DevTools
a workaround:
diff --git a/Nav.svelte b/Nav.svelte
index f5493c9..247ff22 100644
--- a/Nav.svelte
+++ b/Nav.svelte
@@ -9,7 +9,7 @@
export let vertical = false;
export let horizontal = '';
export let justified = false;
- export let fill = false;
+ export let navfill = false;
export let navbar = false;
export let card = false;
@@ -35,7 +35,7 @@
'nav-pills': pills,
'card-header-pills': card && pills,
'nav-justified': justified,
- 'nav-fill': fill
+ 'nav-fill': navfill
}
);
</script>
from sveltestrap.
Thanks @vfilatov - we could change this, although would be a small breaking change.
Perhaps this is an issue we could fix in Svelte Devtools? Any thoughts @RedHatter ?
from sveltestrap.
@RedHatter any chances to look at that issue? :)
from sveltestrap.
Thank you for the ping. Sorry I haven't looked into this sooner.
As far as I can tell this is fixed in svelte-devtools version 1.2.3. Can you verify? The latest version hasn't gone through review on chrome yet but you should be able to install on firefox. Make sure to use the latest svelte version.
from sveltestrap.
@RedHatter, thank you, I can confirm it is working on FireFox now.
Meanwhile it crashes under huge data set, but that might be a different story.
Thanks again!
from sveltestrap.
Resolved in other repo, thanks.
from sveltestrap.
Related Issues (20)
- Svelte 4 support HOT 24
- Build with Node 18+ HOT 3
- Support `keyboard` option of Offcanvas
- ESM/CJS conflict when importing Sveltestrap components HOT 4
- Migrate to floating UI
- Add `"type": "module"` to `package.json` HOT 2
- Button dropdown work only on second press HOT 1
- [docs] "Misleading" Alert title in the first example
- `hidden` flag/attribute on Nav/NavItem
- Documentation on color handling is incorrect HOT 1
- Mixing FormGroup and InputGroup
- Modal on:opening and on:open events are not firing HOT 1
- Looking for new maintainer HOT 4
- Add `plainText` and `size` props for Input
- Allow markup in Input labels
- Important: Repo Migration! HOT 1
- Input date with max attribute keyboard issue HOT 2
- Missing exports condition
- Carousel theme not working
- Adding Classes to elements result in "unused css selector" with in document CSS. 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 sveltestrap.