Skip to content

Conversation

@gildaB
Copy link
Member

@gildaB gildaB commented Dec 9, 2025

No description provided.

@netlify
Copy link

netlify bot commented Dec 9, 2025

👷 Deploy Preview for confort-plus processing.

Name Link
🔨 Latest commit ed3fa1d
🔍 Latest deploy log https://app.netlify.com/projects/confort-plus/deploys/69417f286295810008cf6028

@gildaB gildaB changed the base branch from main to develop December 9, 2025 09:22
@b-ingoglia b-ingoglia self-requested a review December 9, 2025 13:51
}

setScrollAspect = (value: any): void => {
console.log('ScrollAspectService - setScrollAspect ')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh oh... tu as laissé quelques console.log()

.${PREFIX}big-scroll::-webkit-scrollbar-thumb,
.${PREFIX}big-scroll *::-webkit-scrollbar-thumb {
background-color: ${this.scrollColor};
background-color: red;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi fixer en rouge ? Un oubli lors du débug ?

let styleScroll = `
html {
scrollbar-width: none;
width: calc(100% - 40px);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normalement, on habitude de fixer les tailles des éléments en rem plutôt qu'en pixel.


function onMouseUp() {
isDragging = false;
document.removeEventListener('mousemove', onMouseMove);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remplacer tous les évènements de type Mouse Event par ceux de type Pointer Event (mousemove-> pointermove), pour gérer le tactile.

.filter((el: any) => !el.disabled && el.tabIndex >= 0);
}

addCustomScroolBar = (): void => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
addCustomScroolBar = (): void => {
addCustomScrollBar = (): void => {

(penser à le remplacer les appels)

scrollDown.addEventListener('click', function() {
window.scrollBy(0, 100);
});
let navetteContainer = document.createElement('div');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pour éviter le mélange anglais / français dans le code, tu peux renommer navette en thumb.

scrollDownTriangle.className = 'cf-scroll-down-triangle';
let scrollDown = document.createElement('div');
scrollDown.className = 'cf-scroll-down';
scrollUp.appendChild(scrollUpTriangle);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pour éviter le mélange anglais / français dans le code, tu peux renommer triangle par arrow.

/*
.cf-scroll-down-triangle {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je suis partagé sur le dessin en css du bouton. J'aurais eu tendance à ajouter l'icone en SVG (si ,elle n'existe pas déjà) et l'appeler via le composant app-icon.
Le problème dans ce cas, c'est que pour chaque taille de triangle, tu as un css différent, ça ne me paraît pas très maintenable.
Dans solaris, tu as "Chevron down" par exemple.

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.

2 participants