primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Frozen column disables scrolling

Open cmcclellen opened this issue 9 years ago • 1 comments

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ x ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)

http://plnkr.co/edit/YGpRoKLyIqHZmgBftaAl?p=preview

Current behavior

The frozen column disappears, and horizontal scrolling gets disabled. If you remove the frozen attribute the column appears and horizontal scrolling will work.

If you notice in the above plunkr, you can remove the frozen="true" and the Year column will show.

Expected behavior Frozen column should be visible, and also horizontal scrolling should work.

Minimal reproduction of the problem with instructions

Run the plunkr. You'll see the frozen column is missing.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 5.0.2

  • PrimeNG version: 5.0.2

  • Browser: Chrome 62

  • **Language:**TypeScript 2.4.1]

  • Node (for AoT issues): node --version =

cmcclellen avatar Nov 28 '17 23:11 cmcclellen

Looks like i forgot i needed frozenWidth and unfrozenWidth together or this doesn't work.

cmcclellen avatar Nov 29 '17 20:11 cmcclellen