expandAll() and expand() not working
Describe the bug Mac app v2.8.1 expand() and expandAll() not working.
Versions
- spatie/ray 1.41.2
- mac app: 2.8.1
To Reproduce Steps to reproduce the behavior:
$data = ['id' => 1, 'tags' => ['test1', 'test2']];
ray($data)->expandAll();
Expected behavior
When using expandAll() and expand() prior to v2.8.1, the app would automatically expand the tags in the UI.
Desktop (please complete the following information):
- OS: macOS
- Version 14.5
Additional context Used to work before 2.8.1
I have the same issue, I'm on Windows and I'm using the Laravel Sail environment.
please check the issue on windows app. thanks
The same thing is happening with Laravel Ray version 1.37.1
Hi! I have the issue as well. MacOS Sonoma 4.6.1 and Ray 2.8.1.
@sebastienhenau any ETA on a fix for this? Would be helpful to have this working again ;)
I'd love to look at ray and just see the expanded arrays rather than moving to the app and manually doing it ever single time. At this point it's just as fast to use @dump()
meanwhile, as confirmed by the tooltip, "ctrl/cmd + click" on the main arrow does the work ... manually

also not working for me, but @camiant thank you so much for this tip! Saves me 50 clicks a day 😉
thank you so much for this tip!
my pleasure, @rderks88 ! 🤝
@raulp Sorry for the late response concerning this issue. At the moment we are working on version 3.0, where we try to solve most of the issues users are currently having with Ray. We'll take a look at this issue as well and we'll provide a fix to be released with version 3.0.
The issue persists for me as well. :(
As evidenced by myray.app/blog, they are working on releasing version 3, so it's likely that the last of the 2 series will be 2.81. I imagine at this point that the bug will be resolved directly in the new major version.
In the meantime you can work around using the keyboard shortcut
https://github.com/spatie/ray/issues/918#issuecomment-2457347810
Alternatively, you can downgrade to the previous version, which retains the compact/expand feature but has known issues in persisting SSH connections.
As evidenced by myray.app/blog, they are working on releasing version 3, so it's likely that the last of the 2 series will be 2.81. I imagine at this point that the bug will be resolved directly in the new major version.
I wonder what the upgrade cost will be, I feel like there's been very little development on V2 and a lot of auto closed issues.
@sebastienhenau your last update was months ago. It's cool you guys are working on v3, but bugs like these should be fixed a bit sooner imho. I mean, this bug alone is 1 year old since it was reported.
Regarding the upgrade from v2 to v3, it'll be interesting to see if lifetime users can upgrade or would need a separate license. Same for current v2 regular users. But, regardless, i don't think it's fair to leave bugs waiting in v2 for months, just to be able to say in a another few months: hey, if you want this fixed, pay to upgrade to v3.
I can understand new features - that totally make sense. Or re-working a feature from the ground up. But certain bugs most likely don't take away a lot of time for your team to fix, and keep v2 users happy. Just my thoughts.
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.