ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Request link keep change layout after request finished #1982

Open adamwangxx opened 3 months ago

adamwangxx commented 3 months ago

Description

Steps to Reproduce

  1. Send a request with long path/params
  2. Click URL after request finished, the bottom view with request type and response code keeps updating layout between horizontal and vertical

Current Behavior

CleanShot 2024-03-26 at 14 43 28

Expected Behavior

Environment

NghiaTranUIT commented 3 months ago

@adamwangxx it's the feature, If your long URL occupies more than 4 lines, it will become vertical to show more space to render the URL. Otherwise, it's horizontal mode.

adamwangxx commented 3 months ago

@adamwangxx it's the feature, If your long URL occupies more than 4 lines, it will become vertical to show more space to render the URL. Otherwise, it's horizontal mode.

Hi, thanks for response, I know it's the feature, but I got weird behavior. I do nothing after request finished like change Proxyman window size or change bottom view size, so I think layout should keep horizontal or vertical but not keep changing.

https://github.com/ProxymanApp/Proxyman/assets/5875393/93f13dc4-15cd-4911-b6de-a8b2338cc168

NghiaTranUIT commented 3 months ago

thanks. I see, there is a small bug when calculating the width/height of your URL, so it displays as Horizontal/Vertical incorrectly. Let me see if I can fix it 👍