René's URL Explorer Experiment


Title: Nested grid looses verticalMargin setting when parent grid item moved (inherits parent setting) · Issue #726 · gridstack/gridstack.js · GitHub

Open Graph Title: Nested grid looses verticalMargin setting when parent grid item moved (inherits parent setting) · Issue #726 · gridstack/gridstack.js

X Title: Nested grid looses verticalMargin setting when parent grid item moved (inherits parent setting) · Issue #726 · gridstack/gridstack.js

Description: I have a nested grid with its own verticalMargin setting, which differs to the parent (wrapper) grid. Moving a parent grid widget results in the nested grid being redrawn with the parent margin setting not its own. Movie showing this is ...

Open Graph Description: I have a nested grid with its own verticalMargin setting, which differs to the parent (wrapper) grid. Moving a parent grid widget results in the nested grid being redrawn with the parent margin set...

X Description: I have a nested grid with its own verticalMargin setting, which differs to the parent (wrapper) grid. Moving a parent grid widget results in the nested grid being redrawn with the parent margin set...

Opengraph URL: https://github.com/gridstack/gridstack.js/issues/726

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nested grid looses verticalMargin setting when parent grid item moved (inherits parent setting)","articleBody":"I have a nested grid with its own verticalMargin setting, which differs to the parent (wrapper) grid.\r\n\r\nMoving a parent grid widget results in the nested grid being redrawn with the parent margin setting not its own.\r\n\r\nMovie showing this is attached.\r\n[nestedloosemargin.zip](https://github.com/troolee/gridstack.js/files/1172241/nestedloosemargin.zip)\r\n\r\nMy grid code:\r\n```\r\n\u003c!--WRAPPER-->\u003cdiv class=\"myGrid\" style=\"background: #2c3e50;\">\r\n\u003cdiv class=\"grid-stack grid-stack-8\" data-gs-animate=\"yes\">\u003c!--START GRID-->\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"0\" data-gs-y=\"0\" data-gs-width=\"3\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr1\">1\u003cbr/>\u003cp>Shoot me an email.\u003c/p>\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"3\" data-gs-y=\"0\" data-gs-width=\"2\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr2\">2\u003cbr>\u003cstrong>hello\u003c/strong>\u003cp>This is a no-brainer.\u003c/p>\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"5\" data-gs-y=\"0\" data-gs-width=\"3\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr3\">3\u003cbr>hello\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"0\" data-gs-y=\"3\" data-gs-width=\"2\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr2\">4\u003cbr>world\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"2\" data-gs-y=\"3\" data-gs-width=\"4\" data-gs-height=\"6\">\u003cdiv class=\"grid-stack-item-content clr3\">\u003c!-- HERE-->\u003cdiv class=\"grid-inner grid-stack-2\" data-gs-animate=\"yes\">\u003c!--START INNER GRID-->\r\n\u003cdiv class=\"grid-inner-item grid-stack-item\" data-gs-x=\"0\" data-gs-y=\"0\" data-gs-width=\"1\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr7\">Inner1\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-inner-item grid-stack-item\" data-gs-x=\"1\" data-gs-y=\"0\" data-gs-width=\"1\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr6\">Inner2\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-inner-item grid-stack-item\" data-gs-x=\"0\" data-gs-y=\"3\" data-gs-width=\"1\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr6\">Inner3\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-inner-item grid-stack-item\" data-gs-x=\"1\" data-gs-y=\"3\" data-gs-width=\"1\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr7\">Inner4\u003c/div>\u003c/div>\r\n\u003c!-- END INNER GRID -->\u003c/div>\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"6\" data-gs-y=\"3\" data-gs-width=\"2\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr9\">5\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"0\" data-gs-y=\"6\" data-gs-width=\"2\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr0\">6\u003c/div>\u003c/div>\r\n\u003cdiv class=\"grid-stack-item\" data-gs-x=\"6\" data-gs-y=\"6\" data-gs-width=\"2\" data-gs-height=\"3\">\u003cdiv class=\"grid-stack-item-content clr8\">7\u003c/div>\u003c/div>\u003c!-- END GRID -->\u003c/div>\r\n\u003c!--end wrapper-->\u003c/div>\r\n```\r\nMy function and options:\r\n```\r\n  $(function () {\r\n        var options = {\r\n             width: 8,\r\n             verticalMargin: 3,\r\n             cellHeight:'3.5em',\r\n             resizable: {\r\n                   handles: 'e, se, s, sw, w'\r\n                              }\r\n          };\r\n         $('.grid-stack').gridstack(options);\r\n\r\nvar nestedoptions = {\r\n             width:2,\r\n             verticalMargin: 0,\r\n             cellHeight:'3.5em',\r\n             resizable: {\r\n                   handles: 'e, se, s, sw, w'\r\n                              }\r\n          };\r\n         $('.grid-inner').gridstack(nestedoptions);\r\n   });\r\n```","author":{"url":"https://github.com/kool-kat","@type":"Person","name":"kool-kat"},"datePublished":"2017-07-25T06:59:47Z","url":"https://github.com/gridstack/gridstack.js/issues/726"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d28028a9-0667-89fe-f3e6-2c25ded29bce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id825A:13925:541FF2:54C339:6AFF59DC
html-safe-noncecdb51a40fe2a02c5aea9c33d5a889178c60e5f6f442d98557fcb08628ccce2f9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjVBOjEzOTI1OjU0MUZGMjo1NEMzMzk6NkFGRjU5REMiLCJ2aXNpdG9yX2lkIjoiNDYzMDY1NjQ3NDE1NzExMTc3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1ad78fbd8777604d05c137664b5555f2c2932c72ae38a576f770d4326ee965e9
hovercard-subject-tagissue:245303695
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gridstack/gridstack.js/726/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e1c033e36d6e005a96bb90522bf153a4d0fc03682ae66dc425321f13f5bf1b27/gridstack/gridstack.js/issues/726
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e1c033e36d6e005a96bb90522bf153a4d0fc03682ae66dc425321f13f5bf1b27/gridstack/gridstack.js/issues/726
og:image:altI have a nested grid with its own verticalMargin setting, which differs to the parent (wrapper) grid. Moving a parent grid widget results in the nested grid being redrawn with the parent margin set...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekool-kat
hostnamegithub.com
expected-hostnamegithub.com
None2422ccd4bc783f932948cce4871cb9e0622bab749db07f387c9631b7e6834d1f
turbo-cache-controlno-preview
go-importgithub.com/gridstack/gridstack.js git https://github.com/gridstack/gridstack.js.git
octolytics-dimension-user_id31674162
octolytics-dimension-user_logingridstack
octolytics-dimension-repository_id26417283
octolytics-dimension-repository_nwogridstack/gridstack.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id26417283
octolytics-dimension-repository_network_root_nwogridstack/gridstack.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2a39546baeb98186e651a01d5d7aa6465825eeb1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/gridstack/gridstack.js/issues/726#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgridstack%2Fgridstack.js%2Fissues%2F726
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgridstack%2Fgridstack.js%2Fissues%2F726
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gridstack%2Fgridstack.js
Reloadhttps://github.com/gridstack/gridstack.js/issues/726
Reloadhttps://github.com/gridstack/gridstack.js/issues/726
Reloadhttps://github.com/gridstack/gridstack.js/issues/726
gridstackhttps://github.com/gridstack
gridstack.jshttps://github.com/gridstack/gridstack.js
Codehttps://github.com/gridstack/gridstack.js
Issues17 (17)https://github.com/gridstack/gridstack.js/issues
Pull requests3 (3)https://github.com/gridstack/gridstack.js/pulls
Actionshttps://github.com/gridstack/gridstack.js/actions
Projectshttps://github.com/gridstack/gridstack.js/projects
Wikihttps://github.com/gridstack/gridstack.js/wiki
Security and qualityhttps://github.com/gridstack/gridstack.js/security
Insightshttps://github.com/gridstack/gridstack.js/insights
https://github.com/gridstack/gridstack.js
New issuehttps://github.com/login?return_to=https://github.com/gridstack/gridstack.js/issues/726
New issuehttps://github.com/login?return_to=https://github.com/gridstack/gridstack.js/issues/726
Nested grid looses verticalMargin setting when parent grid item moved (inherits parent setting)https://github.com/gridstack/gridstack.js/issues/726#top
type:bughttps://github.com/gridstack/gridstack.js/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com/kool-kat
kool-kathttps://github.com/kool-kat
on Jul 25, 2017https://github.com/gridstack/gridstack.js/issues/726#issue-245303695
nestedloosemargin.ziphttps://github.com/troolee/gridstack.js/files/1172241/nestedloosemargin.zip
https://github.com/radiolips
radiolipshttps://github.com/radiolips
on Sep 5, 2017https://github.com/gridstack/gridstack.js/issues/726#issuecomment-327240586
@kool-kathttps://github.com/kool-kat
radiolipshttps://github.com/radiolips
type:bughttps://github.com/gridstack/gridstack.js/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
on May 2, 2018https://github.com/gridstack/gridstack.js/issues/726#event-1605408329
https://github.com/adumesny
adumesnyhttps://github.com/adumesny
on Dec 22, 2019https://github.com/gridstack/gridstack.js/issues/726#issuecomment-568303312
#425https://github.com/gridstack/gridstack.js/issues/425
adumesnyhttps://github.com/adumesny
on Jul 7, 2020https://github.com/gridstack/gridstack.js/issues/726#event-3518814157
TS: gridstack#723 gridstack#726 `margin` to replace `verticalMargin`https://github.com/adumesny/gridstack.js/commit/94e1341ea09f8cd5dfba62defbbb92c6bd1a6e9a
gridstack#723https://github.com/gridstack/gridstack.js/issues/723
gridstack#726https://github.com/gridstack/gridstack.js/issues/726
94e1341https://github.com/adumesny/gridstack.js/commit/94e1341ea09f8cd5dfba62defbbb92c6bd1a6e9a
https://github.com/adumesny
adumesnyhttps://github.com/adumesny
on Jul 7, 2020https://github.com/gridstack/gridstack.js/issues/726#issuecomment-654830157
https://user-images.githubusercontent.com/3496166/86782930-8915af00-c014-11ea-99e6-185471e9275d.png
adumesnyhttps://github.com/adumesny
on Jul 27, 2020https://github.com/gridstack/gridstack.js/issues/726#event-3587537441
Merge pull request #1308 from adumesny/typescripthttps://github.com/gridstack/gridstack.js/commit/70fb3ec6ffb7bd0ca7e1ef2496b9d03fec6a044c
#1308https://github.com/gridstack/gridstack.js/pull/1308
70fb3echttps://github.com/gridstack/gridstack.js/commit/70fb3ec6ffb7bd0ca7e1ef2496b9d03fec6a044c
adumesnyhttps://github.com/adumesny
completedhttps://github.com/gridstack/gridstack.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 27, 2020https://github.com/gridstack/gridstack.js/issues/726#event-3587541922
Sign up for freehttps://github.com/signup?return_to=https://github.com/gridstack/gridstack.js/issues/726
Sign in to commenthttps://github.com/login?return_to=https://github.com/gridstack/gridstack.js/issues/726
type:bughttps://github.com/gridstack/gridstack.js/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.