@contentful/field-editor-reference 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.0.0...@contentful/field-editor-reference@4.0.1) (2021-11-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - show create-entry-menu list only when it's open ([fa2371f](https://github.com/contentful/field-editors/commit/fa2371fbc05c7f172d90b8f3ec227782364a47d5))
11
+
6
12
  # [4.0.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@3.0.0...@contentful/field-editor-reference@4.0.0) (2021-11-04)
7
13
 
8
14
  **Note:** Version bump only for package @contentful/field-editor-reference
@@ -265,7 +265,7 @@ var CreateEntryMenuTrigger = function CreateEntryMenuTrigger(_ref) {
265
265
  }, React__default.createElement(f36Components.Menu.Trigger, null, children({
266
266
  isOpen: isOpen,
267
267
  isSelecting: isSelecting
268
- })), React__default.createElement(f36Components.Menu.List, {
268
+ })), isOpen && React__default.createElement(f36Components.Menu.List, {
269
269
  className: styles.dropdownList,
270
270
  style: {
271
271
  width: dropdownWidth != undefined ? dropdownWidth + "px" : undefined,