enterprise-wc icon indicating copy to clipboard operation
enterprise-wc copied to clipboard

IdsSplitter - splitter position isn't retained when expanding and collapsing.

Open pwpatton opened this issue 7 months ago • 1 comments

Describe the bug The splitter position seems to get lost when expanding and collapsing. It seems to return to the initial 25% in the example only it puts that 25% on the right pane.

This is related to https://github.com/infor-design/enterprise-wc/issues/2083

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://main.wc.design.infor.com/ids-splitter/expand-collapse.html - Notice the left split pane is at 25%.
  2. Click on expand collapse button to collapse the left split pane and again to expand it
  3. Notice the splitter is not it the original position. It seems to be setting the right split pane to 25%

Expected behavior Expect calling expand to restore splitter to it's previous location.

Version

  • ids-enterprise: [e.g. v4.9.0 or v4.10.0]

Screenshots

Animated GIF showing the issue

splitter-position

Platform

  • Infor Application/Team Name: Landmark
  • OS Version: Windows 11
  • Browser Name: chromeVersion 126.0.6478.61 (Official Build) (64-bit)126.0.6478.61

Additional context Add any other context about the problem here.

pwpatton avatar Jul 05 '24 15:07 pwpatton