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

Added on hover functionality for EventListItem and MarkerWrapper - when… #1209

Merged

Conversation

targatonica
Copy link

… dot on map is hovered event item in list will change style(light up).

Changes in Styles (styles.scss)
Added a new CSS class, .highlighted, for highlighting of the hovered event.
Enhanced the hover effect for a more interactive experience.

Changes in EventsList Component
Added hoveredEvent prop to pass the hovered event ID to the EventsListItem.
Adapted handling of event item clicks.

Changes in MarkerWrapper Component
Enhanced the handling of mouse events (hover, click, leave) for markers on the map.
Implemented smooth scrolling to the corresponding event in the Events List when hovering over a marker.

Changes in MapComponent Component
Added hoveredEvent and isHovered states to manage the currently hovered event.
Adapted the event handling for markers on the map.

… dot on map is hovered event item in list will change style(light up)
@targatonica targatonica changed the title Added two way data binding for EventListItem and MarkerWrapper - when… Added on hover functionality for EventListItem and MarkerWrapper - when… Dec 13, 2023
@targatonica targatonica changed the base branch from master to deploy-phm December 13, 2023 16:38
@AndyatFocallocal AndyatFocallocal merged commit 15c5dd0 into focallocal:deploy-phm Dec 13, 2023
1 check failed
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