mirror of
https://github.com/apache/superset.git
synced 2024-09-12 16:49:40 -04:00
[geo] turn off renderTrigger on viewport control (#4066)
For context, the viewport gets updated dynamically from the user actions on the map. This is done on a timer every second or so to keep the form data updated with the viewport settings. With renderTrigger=true on that control that generates re-renders which introduces glitches while zooming/panning. So turning it off as we don't really expect users to input viewport info directly in the control anyways.
This commit is contained in:
parent
6081f7161a
commit
fc85756c20
@ -1446,7 +1446,7 @@ export const controls = {
|
||||
viewport: {
|
||||
type: 'ViewportControl',
|
||||
label: t('Viewport'),
|
||||
renderTrigger: true,
|
||||
renderTrigger: false,
|
||||
description: t('Parameters related to the view and perspective on the map'),
|
||||
// default is whole world mostly centered
|
||||
default: defaultViewport,
|
||||
|
Loading…
Reference in New Issue
Block a user