jasongrout/simple-python-db-compute — Issue #212: Nested Interact Layouts
Author: kramer314
Created: 2011-10-30 04:05:01+00:00
State: open
Labels: interacts, javascript

Some interact controls are incompatible with nested interact layouts:

For instance, this works:

```python

@interact(layout = {"top_right": [["n"],["q","p"]]})
def f(n = ContinuousSlider(), p = ContinuousSlider(), q=Button()):
print n + p

```

This does not:

```python
@interact(layout = {"top_right": [["n"],["p","q"]]})
def f(n = ContinuousSlider(), p = ContinuousSlider(), q=Button()):
print n + p
```

If nested interact layouts are to be supported, we should make sure every control is compatible, no matter where it's nested. This appears to be solely a Javascript problem.