Now widget can go on top of the another widgets (#2444)

This commit is contained in:
Muhsin Shah C P 2022-03-10 17:30:33 +05:30 committed by GitHub
parent 60f515d19c
commit 24fa916abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,12 +3,15 @@ import React, { useState, useEffect, useRef } from 'react';
import SelectSearch, { fuzzySearch } from 'react-select-search';
export const Multiselect = function Multiselect({
id,
component,
height,
properties,
styles,
exposedVariables,
setExposedVariable,
fireEvent,
onComponentClick,
}) {
const { label, value, values, display_values } = properties;
const { borderRadius, visibility, disabledState } = styles;
@ -87,6 +90,9 @@ export const Multiselect = function Multiselect({
placeholder="Select.."
ref={selectRef}
closeOnSelect={false}
onFocus={(event) => {
onComponentClick(id, component, event);
}}
/>
</div>
</div>