# Empty space in select component when sizing is set to no shrink

**URL:** <https://community.appfarm.io/t/empty-space-in-select-component-when-sizing-is-set-to-no-shrink/1839>\
**Category:** Ask the community\
**Created:** [May 9, 2025, 12:50pm UTC](https://community.appfarm.io/t/empty-space-in-select-component-when-sizing-is-set-to-no-shrink/1839 "2025-05-09T12:50:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dione](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/dione/32/2299_2.png) [@dione](https://community.appfarm.io/u/dione)\
**Post date:** [May 9, 2025, 12:50pm UTC](https://community.appfarm.io/t/empty-space-in-select-component-when-sizing-is-set-to-no-shrink/1839/1 "2025-05-09T12:50:37Z")

</div>

Hi,

I noticed that when i set the sizing of the single select component to no shrink, the list of options creates this extra space when i scroll (shown in the second screenshot). I do not want space that’s not clickable in a scrollable dropdown, especially when it also appears when i only have 1 option.

Is there a way to configure the component such that the blank space does not appear? I included screenshots of the right panel and the datasource if that helps

 ![Screenshot 2025-05-09 at 2.42.36 PM](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/d/dc309104689ac0993d6556ddaf159614b9cec1dd.png)  
 ![Screenshot 2025-05-09 at 2.42.44 PM](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/b/bcb12eb37d2261efe6dda086b612859cd732b7d4.png)  
 ![Screenshot 2025-05-09 at 2.43.01 PM](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/3/3d152fb1772579686c4ae4b10a48f67ae64ea65a.png)  
 ![Screenshot 2025-05-09 at 2.43.10 PM](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/6/685ce93bcc7b4c1b80259c1e81e4eefe8fc03f85.png)

---

<div class="post-metadata">

**Author:** ![ulrik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/ulrik/32/1912_2.png) [@ulrik](https://community.appfarm.io/u/ulrik)\
**Post date:** [May 9, 2025, 1:03pm UTC](https://community.appfarm.io/t/empty-space-in-select-component-when-sizing-is-set-to-no-shrink/1839/2 "2025-05-09T13:03:03Z")

</div>

Hi Dione!

If you press on the Single Select component and look at the Properties panel. Is “Allow Null” selected? If so, if you unselect this option the spacing should be removed.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/0/0fd7537bea24474ca0f00525493d84027a797f72.png)

Let me know if this was the reason for the spacing 😀

---

<div class="post-metadata">

**Author:** ![dione](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/dione/32/2299_2.png) [@dione](https://community.appfarm.io/u/dione)\
**Post date:** [May 9, 2025, 1:36pm UTC](https://community.appfarm.io/t/empty-space-in-select-component-when-sizing-is-set-to-no-shrink/1839/3 "2025-05-09T13:36:32Z")

</div>

It seems like allow null doesnt appear on my properties panel, is there something i need to do to show it?

 ![Screenshot 2025-05-09 at 3.32.46 PM](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/f/f4011440bbc627d99b8b88cb21f18569738947b6.png)

---

<div class="post-metadata">

**Author:** ![Olav](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/olav/32/63_2.png) [@Olav](https://community.appfarm.io/u/Olav)\
**Post date:** [May 12, 2025, 8:24am UTC](https://community.appfarm.io/t/empty-space-in-select-component-when-sizing-is-set-to-no-shrink/1839/4 "2025-05-12T08:24:02Z")

</div>

Hi! The “Allow Null” setting is only available for the `Property` Selection Type, so it does not apply in this case.

I attempted to reproduce the issue, and it appears that checking the “Autocomplete” setting is what triggers the extra whitespace, not the “No shrink” setting. The video below shows two Select components, one with Autocomplete, and one without it.

I will register an improvement request with our Platform team to remove the excess whitespace when using autocomplete.
