XIAO ESP32S3 antenna/Wi-Fi not working

I am making a sensor module which contains XIAO ESP32S3 and some sensors. I designed a 3D printed enclosure for it, but when I enclosed everything wi-fi is not connecting. I drilled a hole to mount antenna externally but still it is not working. When it is in open air its working fine. Should I use external antenna? This will be used for outdoor range with 25 meter of connection range.

Here is the image for reference:

Hi, have you solved it now? If you still can’t use WiFi properly with putting the antenna out of the model, you can leave your email address so that we can contact you about after-sales matters!

Hi @Seeed_Seraphina

There is temporary fix but it is not working inside the enclosure. I have messaged you my email id.

Okay, I’ll contact you by email.