Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linkage not working under Card #1750

Closed
jewfro-cuban opened this issue Nov 7, 2020 · 0 comments · Fixed by #1753
Closed

linkage not working under Card #1750

jewfro-cuban opened this issue Nov 7, 2020 · 0 comments · Fixed by #1753
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@jewfro-cuban
Copy link

ALL software version info

panel 0.10.1
bokeh 2.2.3
python 3.7.7
chrome Version 86.0.4240.111 (Official Build) (64-bit)

Description of expected behavior and the observed behavior

depth linkage not working under Card

Complete, minimal, self-contained example code that reproduces the issue

This one works

import panel as pn
import requests
pn.extension()
depth = pn.widgets.IntInput(value=4)
obj = requests.get("http://dummy.restapiexample.com/api/v1/employees").content.decode('utf-8')
json = pn.pane.JSON(obj, depth=depth.value)
depth.link(json, value='depth')
pn.Column(depth, json, height=500)

and this doesn't

import panel as pn
import requests
pn.extension()
depth = pn.widgets.IntInput(value=4)
obj = requests.get("http://dummy.restapiexample.com/api/v1/employees").content.decode('utf-8')
json = pn.pane.JSON(obj, depth=depth.value)
depth.link(json, value='depth')
pn.Card(pn.Column(depth, json, height=500))

Stack traceback and/or browser JavaScript console output

[bokeh] document idle at 170 ms
VM63:305 [bokeh] document idle at 148 ms
default.js:1197 Kernel: starting (2142b625-5fb1-405a-a381-18209ac122c2)
default.js:1197 Kernel: restarting (2142b625-5fb1-405a-a381-18209ac122c2)
VM63:305 [bokeh] document idle at 308 ms

Screenshots or screencasts of the bug in action

@philippjfr philippjfr added the type: bug Something isn't correct or isn't working label Nov 9, 2020
@philippjfr philippjfr modified the milestones: next, v0.10.2 Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants