Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(styling): lower amount of lines in slick-plugins sass file #937

Merged
merged 1 commit into from Mar 19, 2023

Conversation

ghiscoding
Copy link
Owner

  • group duplicate code as much as possible to lower amount of lines with same css
  • also add missing ms-select png in demo

- group duplicate code as much as possible to lower amount of lines with same css
- also add missing ms-select png in demo
@ghiscoding ghiscoding merged commit 7033fbf into master Mar 19, 2023
@ghiscoding ghiscoding deleted the chore/smaller-plugin-styling branch March 19, 2023 04:12
ghiscoding pushed a commit that referenced this pull request Dec 1, 2023
- a previous PR #897 caused a regression on a cell with a select dropdown (like `Slick.Editors.YesNoSelect`), the regression was caused by the implementation of Draggable `allowDragFromClosest` which will check if current DOM element is `.slick-cell` or if not it will also try its ancestor and that caused the regression because the cell with the editor also had a `.slick-cell` and so the code taught that the user started a drag and it cancelled event bubbling which in turn also prevented the select dropdown to be clickable.
- to fix this issue we need to make sure that the cell is queried not just with `div.slick-cell` but also with certain CSS classes, we need to check if parent has either `.dnd` or `.cell-reorder` to permit the dragging when checking parent cell with `allowDragFromClosest`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant