function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan AlmqvistJonathan Almqvist 

Lighttning Component WORKS... But not on my List Button

I have a code-setup consisting of:

1. VisualForce page
2. Lightning App that wraps the Lightning Component Below
3. Lightning Component
4. 2 Controllers. 1 is .apxc and one is .js 
Here is a Pastebin with my code: https://pastebin.com/EWghcmAG

So basically I have my Visualforcepage that displays lightning elements. This works in preview and also when I pop the lightning component into my detail lightning page on Account. But when I try this on my List button by adding my Visualforce page, whenever i click on the button, the 'element' (My search field) is displayed BUT no logic is ever applied. It should work as a searchfield with queryhelpers popping in as you type (This works in preview) but they never pop in for my list button.

Strange problem, I think i might be missing to set some parameters that the list button wants but I cant find anything about it.
Thankful for any help or pointers.

Jonathan AlmqvistJonathan Almqvist
Solved this. Everything WAS working. The lightning element was extremely small (thin) though so the results remained hidden in a scrollbar. On mac these scrollbars are also hidden when not active so I had no way of knowing what was going on. I added: 
  <div class="slds-form-element" name="divHeight" type="Integer" default="100">
  The attributes divheight and its 100 value and now everything is displayed correctly. Maybe this helps someone. Out.