hubble.gl icon indicating copy to clipboard operation
hubble.gl copied to clipboard

Hubble should support multiple viewStates

Open RaymondDashWu opened this issue 4 years ago • 0 comments

Summary & Description of Feature

Currently Hubble only has support for one viewState at a time in contrast to Deck, which can support multiple views and viewStates. If the user wants to use 2+ views they'll need more control over the viewState prop. Currently overwritten by Hubble during the animation here

Possibly adapter.getProps could be refactored to behave differently when the views prop is an array of two or more things, and figure out how to ensure this._getViewState() is nested under the correct key

Screenshot

image

RaymondDashWu avatar Sep 03 '20 22:09 RaymondDashWu