react-hexgrid
react-hexgrid copied to clipboard
Build interactive hexagon grids with React
The fix was to give the pattern 100% width and height. As I noticed the issue was only in the chrome browser when zoom in the hex grid area fill...
- Added prop for preserveAspectRatio for HexGrid - Added prop for patternUnits for Pattern
When entering text into the Hexagrid Hexagons, the text won't wrap. Please can this be fixed.. Thanks
It appears that the sizing of patterns and images always defaults to this: ``` ``` even when the hexagons in question have, say, size `8 8`, as is the case...
Currently, drag and drop do not work on mobile. Could you consider mapping existing event handlers to mobile equivalents (eg. onDragStart also handling onTouchStart) or adding separate props for mobile...
There currently seems to be no way to access elements by [p,q,r], only accepted method is to use a single array index. The hexToPixel/pixelTohex functions seem to be broken since...
Text should be accepting numbers as well as strings. Numbers are easily rendered, why not accept them? By converting my numbers to strings I first have to check if number...
I am having an issue extending the draggable example into my application. My understanding is that the draggable property is not supported by SVG and I am hoping you can...
Could it be that when there is spacing in the layout, the PixelToHex is not accurate? Seems like the top part of the hexagon gives the cell that is above...
I assume the `Layout.origin` should be used, but I can't seem to figure out the correct units to set it to. I currently have ```javascript const [hexagons, setHexagons] = useState(GridGenerator.hexagon(3));...